Skip to main content
POST
Add or Update User Privilege Groups And Resources

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Body

application/json

addOrUpdateUserPrivilegeGroupRequest

userId
integer<int64>

(It can be blank only in user invite request.) User ID

Example:

20199

authorizedResourceIds
integer<int64>[]

(Required) Panels you want to be authorized.

Example:
privilegeGroups
PrivilegeGroupAuthRequest · object[]

(Required) Access to privilege groups is determined. (Must be filled for all privilege groups.)

organizationId
integer<int64>

(Required) Organization ID

Example:

31547

expirationTime
integer<int64>

(Optional) Expiration time epoch millis value.

Example:

1644466338000

period
PrivilegeDayRequest · object[]

(Optional) Access day/time information for the privilege group. dayOfWeek: Value for which day of the week the user is authorized ( 1-7 ) start: Privilege start time ( Epoch Millis ) end: Privilege end time ( Epoch Millis )

Example:
validityStart
integer<int64>

(Optional) The epoch millis value of the date the authorization will start.

Example:

1645466338000

Response

SuccessResult with message.

message
string
success
boolean