MemberBody
Propriedades
| Propriedade | Tipo | Descrição | |
|---|---|---|---|
username
| string | Obrigatório | 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 | Opcional | Where to send the invite, when it is emailed; not kept. |
send_email
| boolean | Opcional | Email the invite to the address given, rather than answering its link to hand over. |
role
| one of: "agency_admin", "organization_admin", "key_user" | Obrigatório | What they may do here. |
Usado por
| Método | Caminho | Resumo |
|---|---|---|
| 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. |