Create a new Service User

Create a new Service User

Request Body Parameters:

ParameterTypeMandatoryDescriptionExample
activebooleanfalse
roleIdstringtrueA UUID formatted string3fa85f64-5717-4562-b3fc-2c963f66afa6
typestringtrueValues:INTERNAL_SERVICE,EXTERNAL_SERVICE
ownerOrganizationIdstringfalseA UUID formatted string3fa85f64-5717-4562-b3fc-2c963f66afa6
namestringfalse
accessTokenExpirationInMinutesintegerfalse
secretKeyExpirationInMinutesintegerfalseThe expiration applied to secret keys of this service user, in minutes. Affects only secret keys created from this point on. Once a secret key expires it can no longer be used to log in - it does not expire the service user itself. When not set, the secret keys of this service user never expire.

This API requires UMS_SERVICES_CREATE_SERVICE_USER permission(s).

Body Params
boolean
uuid
required

A UUID formatted string

string
enum
required
Allowed:
uuid

A UUID formatted string

string
length between 0 and 100
int32
≥ 1
int32
≥ 1

The expiration applied to secret keys of this service user, in minutes. Affects only secret keys created from this point on. Once a secret key expires it can no longer be used to log in - it does not expire the service user itself. When not set, the secret keys of this service user never expire.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json