Skip to content

Assigning a specific role of resource level permissions within a given scope

POST

Assigning a specific role to resource level permissions within a given scope.

For one request, permissions can be assigned to several resources at once (the number is not limited)

Parameters

Path Parameters

roleId*

roleId

Type
integer
Required
Format
"int32"
scopeCode*

scopeCode

Type
string
Required

Request Body

application/json
object[]

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"