Skip to content
  • Auto
  • Light
  • Dark
Get Started

Retrieve

Get
get/api/v1/users/{id}

Get a user by ID.

Path Parameters
idstring

The id field.

Returns
expandedarray of object
optional

List of serialized related objects.

Hide ParametersShow Parameters
@typestring
optional

The type of the serialized message.

userViewdelegatedUserPathstringdirectoriesPathstringmanagersPathstringrolesPathstringuserC1APIUserV1UserUserView
optional

The UserView object provides a user response object, as well as JSONPATHs to related objects provided by expanders.

Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/users/$ID \
    -H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"
200 Example
{
  "expanded": [
    {
      "@type": "@type"
    }
  ],
  "userView": {
    "user": {
      "delegatedUserId": "delegatedUserId",
      "roleIds": [
        "string"
      ],
      "status": "UNKNOWN"
    }
  }
}