GET /user
curl \
-X GET https://{{hostname}}/api/v1/user
Response examples (200)
{
"user_name": "string",
"security": {
"roles": [
"string"
],
"permissions": [
"string"
],
"elevated_permissions": {
"enabled": true,
"expires_at": "2024-05-04T09:42:00+00:00"
},
"password": "string",
"enabled": true,
"security_realm": {
"type": "native",
"id": "string"
}
},
"metadata": {
"created_by": "string",
"created_at": "2024-05-04T09:42:00+00:00",
"updated_by": "string",
"updated_at": "2024-05-04T09:42:00+00:00",
"first_login_at": "2024-05-04T09:42:00+00:00",
"last_login_at": "2024-05-04T09:42:00+00:00"
},
"full_name": "string",
"email": "string",
"builtin": true
}
Response examples (404)
# Headers
x-cloud-error-codes: user.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}