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

NameTypeDescription
networkEIDEIDNetwork EID
roleEIDEIDRole EID

Request Body

Supply a JSON resource consisting of a role name and a set of permissions.

Response

StatusData
202Accepted for storage: returns a Feedback object
400Invalid data: returns an Error object
403Unauthorized: returns an Error object
404Unknown role or network: returns an Error object
409Role with the same name exists: returns an Error object