ServiceAccount

Create a service account for the given tenant

post/api/v1/{tenant}/service-accounts

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/{tenant}/service-accounts
  • Auth: one of:
    • HTTP bearer
    • HTTP basic

Path parameters

tenantstring required

Request body

namestring required
descriptionstring
superAdminboolean

Example request

{
  "groups": [
    {
      "id": "id"
    }
  ]
}

Response

Service account successfully created

idstring

the identifier of this service account.

namestring required

the name of this service account.

descriptionstring

the description of this service account.

superAdminboolean

Example response

{
  "name": "name",
  "description": "description",
  "groups": [
    {
      "id": "id"
    },
    {
      "id": "id"
    }
  ],
  "id": "id",
  "superAdmin": true
}

Changes

No recorded changes to this operation across all 7 revisions of this API.