Vai al contenuto principale
PUT
Update organization user role

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri del percorso

organizationid
integer
obbligatorio
userid
string
obbligatorio

If the user is not already registered, this parameter can be 0.
In case is 0, the email field is required in the request body.

Corpo

role
enum<string>

Define user role inside the organization.
Assignable roles are:

  • owner: can manage all aspect of the organization
  • security_officer: can edit basic informations of the organization
  • viewer: can only view informations of the organization
Opzioni disponibili:
viewer,
security_officer,
owner
alerts
object

Alert emails to switch on or off for this member.
Merged with what is already stored, so sending one area leaves the others untouched.
An area the organization holds no license for, or one that sends no mail (v_ciso), is rejected with 400.

bells
object

Bell notifications to switch on or off for this member, merged like alerts.

email
string<email>

This is required if userid path parameter is 0.

Risposta

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Intervallo richiesto: 0 <= x <= 0
Esempio:

0

messages
array

If error is 1, contains zero or more details on the error.

Esempio:
data
object