Error
A valid request URL is required to generate request examples{
"results": {
"roleUuid": "<string>",
"userUuid": "<string>",
"scopes": [
"scim:manage"
],
"rotatedAt": "2023-11-07T05:31:56Z",
"lastUsedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"organizationUuid": "<string>",
"createdBy": {
"lastName": "<string>",
"firstName": "<string>",
"userUuid": "<string>"
},
"createdByUserUuid": "<string>",
"uuid": "<string>",
"token": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Service Accounts
Create service account
Create a service account using an admin session, personal access token, or service account token. Requires organization administration permission. Specify either organization scopes or an organization custom role UUID. For project access, use scopes [“system:member”] and projectAccess grants. The returned token is only available on creation; store it securely.
POST
/
api
/
v1
/
service-accounts
Error
A valid request URL is required to generate request examples{
"results": {
"roleUuid": "<string>",
"userUuid": "<string>",
"scopes": [
"scim:manage"
],
"rotatedAt": "2023-11-07T05:31:56Z",
"lastUsedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"organizationUuid": "<string>",
"createdBy": {
"lastName": "<string>",
"firstName": "<string>",
"userUuid": "<string>"
},
"createdByUserUuid": "<string>",
"uuid": "<string>",
"token": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Body
application/json
service account details
service account details
Expiration timestamp, or null for a token that does not expire.
Project grants. Requires scopes = ["system:member"].
Show child attributes
Show child attributes
Custom organization role UUID, instead of scopes.
Organization role scopes. Provide either scopes or roleUuid, not both.
Available options:
scim:manage, org:admin, org:edit, org:read, system:member, system:admin, system:developer, system:editor, system:interactive_viewer, system:viewer Was this page helpful?