Claude Platform Docs

Einladungen

Einladung erstellen
client.organization.invites.create(body, options?): OrganizationInvite
POST/v1/organizations/invites

Lädt einen Benutzer per E-Mail ein, der Organisation beizutreten.

Einladungen auflisten
client.organization.invites.list(query?, options?): Page<OrganizationInvite>
GET/v1/organizations/invites

Listet die Einladungen der Organisation auf.

Einladung abrufen
client.organization.invites.retrieve(inviteID, options?): OrganizationInvite
GET/v1/organizations/invites/{invite_id}

Ruft eine Einladung anhand der ID ab.

Einladung löschen
client.organization.invites.delete(inviteID, options?): InviteDeleteResponse
DELETE/v1/organizations/invites/{invite_id}

Löscht eine ausstehende Einladung.

Models
interface OrganizationInvite { type: "invite"; id; accepted_at; /* 6 more */ }
interface InviteDeleteResponse { type: "invite_deleted"; id }
type: "invite_deleted"

Deleted object type.

For Invites, this is always "invite_deleted".

defaultinvite_deleted
id: string

ID of the Invite.