org

Accept an invitation.

Changed on

Joins the organization an invitation names; it must be addressed to the login's verified email. Requires a user login, not an API key.

post/v1/org/invitations/accept

Request

Request body

idstring nullable

The invitation's id from GET /v1/org/invitations/mine, a handle not a credential.

tokenstring nullable

The token from the emailed link, absent when accepting from the pending list.

Response

Joined, answering the membership as the switcher lists it; name the invitation by the link's token or the pending list's id, and its address must match the login's verified one.

displayNamestring nullable

The human readable name the console shows.

lastUsedAtstring nullable

When the caller last acted here, or null if never; the list orders by it, latest first.

namestring required

The slug, unique across the fleet and final once chosen.

rolestring required

The role the caller holds here: owner, admin or member.

statusstring required

The account's state: active, suspended, waitlisted or deleted.

tenantIdstring required

The organization's tenant id used in Smol-Tenant to act in this account.

Changes