organizations

POST /api/organizations/{organization_pk}/serviceaccounts/

Create a new service account in an organization with the given label and role, and return it together with a one-time API token for authenticating as that account.

Request

  • Base URL
    https://app.pixiebrix.com
  • Auth
    none declared

Path parameters

organization_pkstring required

Request body

idstring uuid
namestring required
role1 | 2 | 3 | 4 | 5
created_atstring date-time
last_active_atstring date-time nullable

The last time the user was active. Currently only set for service accounts and support service accounts.

tokenstring

Response

idstring uuid
namestring required
role1 | 2 | 3 | 4 | 5
created_atstring date-time
last_active_atstring date-time nullable

The last time the user was active. Currently only set for service accounts and support service accounts.

tokenstring

Changes

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