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": "4198c251-ecef-4cb3-84ce-f1d93a64403e",
  "Name": "sample string 2",
  "Username": "sample string 3",
  "Role": "sample string 4",
  "Credentials": [
    {
      "Id": "8e21f7da-0c5d-4b51-b89f-063838b9f053",
      "Enabled": true,
      "Created": "2020-08-13T00:30:48.3881314+00:00"
    },
    {
      "Id": "8e21f7da-0c5d-4b51-b89f-063838b9f053",
      "Enabled": true,
      "Created": "2020-08-13T00:30:48.3881314+00:00"
    },
    {
      "Id": "8e21f7da-0c5d-4b51-b89f-063838b9f053",
      "Enabled": true,
      "Created": "2020-08-13T00:30:48.3881314+00:00"
    }
  ],
  "Enabled": true,
  "Created": "2020-08-13T00:30:48.3881314+00:00"
}