Creates a new API user.
Creates a new API user. Beware: API users will also be returned in the /users response when including archived users.
Required Permissions
The user must be an admin or haveworkspace-manage-config:write
permissions.Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
The name of the API user.
roleId
The role the user should be in. If no role is specified, the user will become an admin.
clientId
The client id this API user belongs to.
Response
OK
name
The name of the API user.
roleId
The role the user should be in. If no role is specified, the user will become an admin.
clientId
The client id this API user belongs to.
id
The id of the API user.
createdOn
The date this user was created.
createdBy
The id of the user who created this user.
updatedOn
The date when this user was last updated.
updatedBy
The id of the user who updated the entity.