GET v2/api/users/{id}

Returns a specified user with a list of their API Credentials. This API call can be made by either the Administrator who created the target user or the target user themselves, otherwise a 403:Forbidden is returned.

Request Information

Parameters

NameDescriptionAdditional information
id
The identifier of the target user.

Define this parameter in the request URI.

Response Information

The specified Interactive User with their associated API Credentials is returned. This endpoint can only be called by neither the Administrator who created the target user or the target user themselves, otherwise a 403:Forbidden is returned. If the user is not known a 404:NotFound is returned.

Response body formats

application/json, text/json

Sample:
{
  "Id": "cd967328-6045-45cc-8088-17510fc4888e",
  "Name": "sample string 2",
  "Username": "sample string 3",
  "Role": "sample string 4",
  "Credentials": [
    {
      "Id": "7189e67b-bd04-46b5-a108-8638f9e669fe",
      "Enabled": true,
      "Created": "2024-04-25T14:37:49.5467762+00:00"
    },
    {
      "Id": "7189e67b-bd04-46b5-a108-8638f9e669fe",
      "Enabled": true,
      "Created": "2024-04-25T14:37:49.5467762+00:00"
    },
    {
      "Id": "7189e67b-bd04-46b5-a108-8638f9e669fe",
      "Enabled": true,
      "Created": "2024-04-25T14:37:49.5467762+00:00"
    }
  ],
  "Enabled": true,
  "Created": "2024-04-25T14:37:49.5467762+00:00"
}