Create RoleAssignment
| Description | Creates a new role assignment to given orguser |
| HTTP Method | /v1/identity/organizations/{organization_id}/roleassignments |
| HTTP Path | POST |
| Associated Scope(s) | identity.roleassignments |
Request Path Parameters (If Any)
| Name | Type | Description |
|---|---|---|
| organization_id | string | Root Org UUID. |
Request Query/Body Parameters (If Any)
| Name | Type | Description |
|---|---|---|
| roleassignment | entities.RoleAssignment | RoleAssignment to be created. |
Response Fields (If Any)
| Name | Type | Description |
|---|---|---|
| roleassignment | entities.RoleAssignment | RoleAssignment that got created. |
Endpoint Specific Errors (Standard API Errors are defined here)
| Http Status Code | Code | Message |
|---|---|---|
| 400 | bad_request | A bad request like “non-existent orgID” |