POST https://api.speakap.io/networks/:eid/memberships/
Request
URI: | /networks/{networkEID}/memberships/ |
---|---|
Method: | POST |
Content-Type: | application/json |
Authentication: | OAuth 2.0 |
Name | Type | Description |
---|---|---|
networkEID | EID | Network EID |
Supply a complete membership resource in the request body. Optionally
supplemented with a role
object (in the case of network memberships). You should omit the
since
and invitedAt
dates as they will be set server-side.
Name | Type | Description |
---|---|---|
role | object | Role |
role key | string | Unique identifier (for built-in roles) |
role EID | EID | Unique entity identifier (for user-defined roles) |
{
"rev": "network",
"role": {
"key": "admin"
}
}
Response