Update Membership

CUSTOM-ENDPOINT

PUT https://api.speakap.io/networks/:eid/memberships/:eid

CUSTOM-REQUEST

  • URI: /networks/{networkEID}/memberships/{membershipEID}
  • Method: PUT
  • Accept: application/vnd.speakap.api-v1.8.2+json+hal
  • Authentication: OAuth 2.0

Parameters

NameTypeDescription
networkEIDEIDNetwork EID
membershipEIDEIDMembership EID

Request Body

Supply a complete membership resource in the request body. Optionally supplemented with a role object (in the case of network memberships).

NameTypeDescription
roleobjectRole
role.[key]stringUnique identifier (for built-in roles)
role.[EID]EIDUnique entity identifier (for user-defined roles)

Response

StatusData
202Accepted for storage: returns a Feedback object
400Invalid data: returns an Error object
403Unauthorized: returns an Error object
404Unknown membership or network: returns an Error object
409User already is a member: returns an Error object