An XM Cloud Content user is someone who is logged into the XM Cloud Content system. You can retrieve the first and last name of a specific user.

Request

Retrieves the first and last name of a user using their ID along with their authId, organization ID, and type of user.

Security
OAuth2.0
Path
idstringrequired

The ID of the user, for example 6Ioy0AbFz5Xv5C6mWJXgoF.

curl -i -X GET \
  'https://edge-platform.sitecorecloud.io/cs/api/v2/cm/users/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successful operation

Bodyapplication/json
authIdstring or nullrequired
idstring or nullrequired
organizationIdstring or nullrequired
typestring(UserType)required
Enum:"User""Client"
emailstring or null
givenNamestring or null
familyNamestring or null
Response
{ "id": "string", "authId": "string", "organizationId": "string", "type": "User", "email": "string", "givenName": "string", "familyName": "string" }