Get User

Get User

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


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns dmsUserResponseDto of type(s) application/vnd.vmware.dms-v1+json
{
    "id": 0,
    "email": "string",
    "_links": {
        "_links": {
            "href": "string",
            "hreflang": "string",
            "title": "string",
            "type": "string",
            "deprecation": "string",
            "profile": "string",
            "name": "string",
            "templated": false
        }
    }
}
integer As int32 As int32
id
Optional

id

string
email
Optional

email

object
_links
Optional

_links


400

Bad request. The user ID is invalid or missing.

Returns ErrorDto of type(s) application/vnd.vmware.dms-v1+json
"ErrorDto Object"
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}