MemberBody
Eigenschaften
| Eigenschaft | Typ | Beschreibung | |
|---|---|---|---|
username
| string | Erforderlich | Who to offer the role to. Someone with an account accepts it on their account page; anyone else is invited to sign up with this username. A machine made here gets it right away. |
email
| string (email), or null | Optional | Where to send the invite, when it is emailed; not kept. |
send_email
| boolean | Optional | Email the invite to the address given, rather than answering its link to hand over. |
role
| one of: "agency_admin", "organization_admin", "key_user" | Erforderlich | What they may do here. |
Verwendet von
| Methode | Pfad | Zusammenfassung |
|---|---|---|
| POST | /agencies/{agencyId}/members | Offer someone a role on the agency by their username; anyone without an account is invited to sign up. |
| POST | /organizations/{organizationId}/members | Offer someone a role on the organization by their username; anyone without an account is invited to sign up. A machine made here gets it right away. |