List Users V3
GET/v3/user
Lists all users and service accounts for your tenant.
accessKeyExpiration
accessKeyName
activeRole
To retrieve these fields, use the GET - /access_keys
endpoint
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
Access key expiration timestamp in milliseconds
Access key name
Access keys allowed
Access key count
activeRole object
Model for User Profile Role Detail
User Role ID
User Role Name
true = Allow only CI Access for Build and Deploy security roles
true = Allow only Compute Access for reduced system admin roles
true = Allow only Read Access for
User Role Type (Default or Custom Permission Group Name).
Default Role ID
Display name
Email ID
true = Enable access key expiration. Default is false.
Enabled
First name. Maximum length is 300 characters.
Last login time
Last modified by
Time profile was last updated
Last name. Maximum length is 300 characters.
Role IDs
roles object[]
All Role Info
User Role ID
User Role Name
true = Allow only CI Access for Build and Deploy security roles
true = Allow only Compute Access for reduced system admin roles
true = Allow only Read Access for
User Role Type (Default or Custom Permission Group Name).
Time zone (e.g. America/Los_Angeles)
Possible values: [USER_ACCOUNT
, SERVICE_ACCOUNT
]
User type. Default is USER_ACCOUNT.
User or service account name. Maximum length is 300 characters.
[
{
"accessKeyExpiration": 0,
"accessKeyName": "string",
"accessKeysAllowed": true,
"accessKeysCount": 0,
"activeRole": {
"id": "string",
"name": "string",
"onlyAllowCIAccess": true,
"onlyAllowComputeAccess": true,
"onlyAllowReadAccess": true,
"type": "string"
},
"defaultRoleId": "string",
"displayName": "string",
"email": "string",
"enableKeyExpiration": true,
"enabled": true,
"firstName": "string",
"lastLoginTs": 0,
"lastModifiedBy": "string",
"lastModifiedTs": 0,
"lastName": "string",
"roleIds": [
"string"
],
"roles": [
{
"id": "string",
"name": "string",
"onlyAllowCIAccess": true,
"onlyAllowComputeAccess": true,
"onlyAllowReadAccess": true,
"type": "string"
}
],
"timeZone": "string",
"type": "USER_ACCOUNT",
"username": "string"
}
]