Update user-defined Role (since 1.0.12)
CUSTOM-ENDPOINT
PUT https://api.speakap.io/networks/:eid/roles/:eid/
CUSTOM-REQUEST
- URI: /networks/{networkEID}/roles/{eid}
- Method: PUT
- Content-Type: application/json
- Authentication: OAuth 2.0
Parameters
| Name | Type | Description |
|---|---|---|
| networkEID | EID | Network EID |
| roleEID | EID | Role EID |
Request Body
Supply a JSON resource consisting of a role name and a set of permissions.
Response
| Status | Data |
|---|---|
| 202 | Accepted for storage: returns a Feedback object |
| 400 | Invalid data: returns an Error object |
| 403 | Unauthorized: returns an Error object |
| 404 | Unknown role or network: returns an Error object |
| 409 | Role with the same name exists: returns an Error object |