All URIs are relative to /api/v2
Method | HTTP request | Description |
---|---|---|
deleteCustomRole | DELETE /roles/{customRoleKey} | Delete a custom role by key. |
getCustomRole | GET /roles/{customRoleKey} | Get one custom role by key. |
getCustomRoles | GET /roles | Return a complete list of custom roles. |
patchCustomRole | PATCH /roles/{customRoleKey} | Modify a custom role by key. |
postCustomRole | POST /roles | Create a new custom role. |
Delete a custom role by key.
deleteCustomRole customRoleKey=value
Name | Type | Description | Notes |
---|---|---|---|
customRoleKey | string | The custom role key. |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Get one custom role by key.
getCustomRole customRoleKey=value
Name | Type | Description | Notes |
---|---|---|---|
customRoleKey | string | The custom role key. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Return a complete list of custom roles.
getCustomRoles
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Modify a custom role by key.
patchCustomRole customRoleKey=value
Name | Type | Description | Notes |
---|---|---|---|
customRoleKey | string | The custom role key. | |
patchDelta | array[PatchOperation] | Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Create a new custom role.
postCustomRole
Name | Type | Description | Notes |
---|---|---|---|
customRoleBody | CustomRoleBody | New role or roles to create. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]