Get user private data

GET
/api/users/[user_id]/private_data

Path Parameters

user_id
string
Required

User Id

Authentication

X-API-KEY
header
Required

Api key needed to access the endpoints. X-API-KEY: Your_API_Key

Headers

accept
string
  • application/json
  • application/problem+json

Responses

200
OK
422
Unprocessable Entity
404
Not Found
401
Unauthorized
403
Forbidden

Request Example

Request
curl -X GET "https://<your-domain>/api/users/{user_id}/private_data" \
 -H "X-API-KEY: <your-api-key>" \
 -H "Accept: application/json"

Response Example

Response
200 OK
{
"private_data": {
"roles": [ "administrator"
], "has_dashboard_access": false, "member_since": 1672511400
} }