Skip to main content
POST
/
api
/
v1
/
config
/
service-accounts
{
  "service_account": {
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "email": "<string>",
    "metrics_restriction": {
      "permission": "READ",
      "labels": {}
    },
    "slug": "<string>",
    "token": "<string>",
    "unrestricted": true,
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
dry_run
boolean

If true, validates the specified configuration without creating the ServiceAccount. If the specified configuration is valid, the endpoint returns a partial response without the ServiceAccount. If the specified configuration is invalid, the endpoint returns an error.

service_account
object

The ServiceAccount to create.

Response

A successful response containing the created ServiceAccount.

service_account
object