Organizations
Invite a member to the organization
Issue a member invite and send its email.
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
organization_id*integer
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.ethiack.com/v1/organizations/0/invites/" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "role": "owner" }'{
"id": 0,
"kind": "organization",
"email": "string",
"status": "pending",
"created_at": "2019-08-24T14:15:22Z",
"expires_at": "2019-08-24T14:15:22Z",
"resolved_at": "2019-08-24T14:15:22Z",
"redeemed_by_user_id": "string",
"expired": true,
"live": true,
"organization_id": 0,
"role": "owner"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}List an organization's identity domains GET
List the domains and their proof state. Readable by every member of the organization, not only the owner: a domain and whether it is proven are configuration rather than a secret, and an admin debugging why federated login admits nobody needs to see them.
List an organization's member invites GET
List the organization's member invites (open and resolved).