Add Permission to Role
PUT/user-svc/role/:roleId/permission/:permissionId
Adds a specific permission to a role identified by roleId.
Requires the user-svc:permission:assign
permission.
Request
Path Parameters
roleId stringrequired
Role ID
permissionId stringrequired
Permission ID
Responses
- 200
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...