Claude Platform Docs

Undangan

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

Undang pengguna untuk bergabung dengan organisasi melalui email.

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

Daftar undangan organisasi.

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

Ambil undangan berdasarkan ID.

Hapus Undangan
client.organization.invites.delete(inviteID, options?): InviteDeleteResponse
DELETE/v1/organizations/invites/{invite_id}

Hapus undangan yang tertunda.

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.