Get User
Get user details by ID
This endpoint fetches detailed information about a specific user by the user identifier.
Authorized Roles : SYSTEM_ADMIN or INFRA_ADMIN or DSM_ADMIN
Request
URI
GET
https://{api_host}/provider/users/{id}
COPY
Path Parameters
integer
id
Required
ID of the user
Header Parameters
string
Authorization
Required
Bearer token for authentication (e.g., "Bearer <token>" obtained from /provider/session)
string
Accept
Required
Must be application/vnd.vmware.dms-v1+json
Possible values are :
application/vnd.vmware.dms-v1+json,
Responses
200
OK
Returns
dmsUserResponseDto
of type(s)
application/vnd.vmware.dms-v1+json
{
"id": 0,
"email": "string",
"links": [
{
"rel": "string",
"href": "string"
}
]
}
integer As int32
As int32
id
Optional
Unique identifier of the user
string
email
Optional
Email address of the user
array of
object
links
Optional
HATEOAS links for related resources
400
Bad request. The user ID is invalid or missing.
Returns
ErrorDto
of type(s)
application/vnd.vmware.dms-v1+json
{
"message": "string",
"errorCodes": {
"type": "string"
}
}
string
message
Optional
message
object
errorCodes
Optional
errorCodes
404
User not found. The specified user_id does not exist in the system.
Returns
ErrorDto
of type(s)
application/vnd.vmware.dms-v1+json
"ErrorDto Object"
string
message
Optional
message
object
errorCodes
Optional
errorCodes
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/provider/users/{id}