Accounts & UsersList users in an account

List users in an account

Retrieves every user that is a member of the account, including their role assignments, lock status, and last login - a single call per account covers a user access review. Users who are members of other accounts in the tenant are not included; enumerate accounts with GET /accounts and call this endpoint per account to cover a whole tenant.

curl -X GET "https://api.rad.security/accounts/example_string/users" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "user": [
    {
      "email": "user@example.com",
      "id": "example_string",
      "joined_at": "example_string",
      "last_login_at": "example_string",
      "locked": true,
      "roles": [
        {
          "account_id": "example_string",
          "account_name": "John Doe",
          "level": "example_string",
          "name": "John Doe"
        }
      ]
    }
  ]
}
GET
/accounts/{account_id}/users
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Bearer token - just enter the token, "Bearer" prefix will be added automatically

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Authentication token required.

Path Parameters

Responses

userarray