v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
apiUsers

Creates an API user.

Beware: API users will also be returned in the /users response when including archived users.

<Check title="Required Permissions" icon="key">The user must be an admin or have workspace-manage-config:write permissions.</Check>

post/apiusers

Headers

Authorizationstring required

Bearer authentication

Request body

namestring required

The name of the API user.

roleIdstring uuid nullable

The role the user should be in. If no role is specified, the user will become an admin.

clientIdstring nullable

The client id this API user belongs to.

Response

OK

namestring required

The name of the API user.

roleIdstring uuid nullable

The role the user should be in. If no role is specified, the user will become an admin.

clientIdstring nullable

The client id this API user belongs to.

idstring uuid

The id of the API user.

createdOnstring date-time

The date this user was created.

createdBystring uuid

The id of the user who created this user.

updatedOnstring date-time

The date when this user was last updated.

updatedBystring uuid

The id of the user who updated the entity.