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": "60726408-e342-41e8-a44e-4bdde0db4513",
  "Name": "sample string 2",
  "Username": "sample string 3",
  "Role": "sample string 4",
  "Credentials": [
    {
      "Id": "73111116-9e50-4b4c-9ac0-1998b0a2543f",
      "Enabled": true,
      "Created": "2024-12-03T16:42:11.1254306+00:00"
    },
    {
      "Id": "73111116-9e50-4b4c-9ac0-1998b0a2543f",
      "Enabled": true,
      "Created": "2024-12-03T16:42:11.1254306+00:00"
    },
    {
      "Id": "73111116-9e50-4b4c-9ac0-1998b0a2543f",
      "Enabled": true,
      "Created": "2024-12-03T16:42:11.1254306+00:00"
    }
  ],
  "Enabled": true,
  "Created": "2024-12-03T16:42:11.1254306+00:00"
}