Skip to content

Assigning Roles to the Current User

POST

Assigning roles to the current user. role identifiers are passed in the body of the request as a collection

Request Body

application/json
integer[]
Format"int32"

Responses

OK

*/*
object

If the element was successfully removed, then this parameter returns an empty string

Upon successful deletion of an element in the directory, the status "ok" is returned. Otherwise, an error is returned

Valid values"error""ok"

Returns the date + time (kernel) in unix timestamp format in milliseconds

Format"int64"