A user can only execute this action if he is a member of an authorizing role which satisfies one of the following conditions: The authorizing role has direct or indirect userManagement rights for the role to which a member is updated The authorizing role has indirect roleManagement rights for the role to which a member is updated
accessBearerAuth In the value field below, fill in the access token. It has a 10 minutes validity period. A valid token can be obtained via the /accesstoken endpoint (call), AFTER authorization with refreshBearerAuth and the refresh token.
In: header
Id of the role of the updated member relation
0 <= valueId of the updated member relation
0 <= valueapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/role/0/member/0" \ -H "Content-Type: application/json" \ -d '{}'{ "member": { "id": 0, "roleId": 0, "userEmail": "string" }}Create or update a member relation PUT
Create a member relation (or update the existing one) between a role and a user email<br><br> A user can only execute this action if he is a member of an authorizing role which satisfies one of the following conditions: <ul> <li> The authorizing role has *direct or indirect* userManagement rights for the role to which a member is added (or updated) </li> <li> The authorizing role has *indirect* roleManagement rights for the role to which a member is added (or updated) </li> <ul>
Delete a manages relation DELETE
Delete a specified manages relation. If the child role of the manages relation was only connected to the rest of the role graph by the deleted relation, this child role will be deleted as well. In that case, a cascade of deletions of nodes and relations in the graph may occur. A user can only execute this action if he is a member of an autorizing role which has (direct or indirect) roleManagement rights for the parent role of the manages relation