[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator

Get User

Description

Retrieves information about a user by username.

Request

Request

URL

URL


get
https://{api_host}/v1/users/{userId}
Copy

Path Parameters

Path Parameters

string
userId Required

The userId or user account identifier.


Header Parameters

Header Parameters

string
csp-auth-token Optional

Access token for authentication


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns User of type application/json
This response body class contains all of the following: BaseEntity, InlineUser1
Errors

Errors

401

Unauthorized - The user is not authorized to use the API


500

Internal Server Error - An unexpected error has occurred while processing the request

Code Samples

Code Samples

cURL Command

curl -H "csp-auth-token: string" https://{api_host}/v1/users/{userId}


Feedback

Was this page helpful?