Create role assignment
POST/tenants/:tenantId/users/:userId/roles
Assigns a role to a user with optional scope restriction. The role ID references a role defined in the Authorization Service.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Role assignment created successfully
Bad request - duplicate assignment or invalid input
Unauthorized
Forbidden
User not found
Internal Server Error