Skip to main content

Set Role Permissions

PUT 

/user-svc/role/:roleId/permissions

Set permissions for a specified role. The caller can add permissions it owns to any role. If the caller tries to add a permission it doesn't own to a role, StatusBadRequest will be returned.

Request

Path Parameters

    roleId stringrequired

    Role ID

Body

required

Set Role Permissions Request

    permissionIds string[]

Responses

OK

Schema

    object

Loading...