Typescript
import Nuntly from '@nuntly/sdk'; const client = new Nuntly({ apiKey: 'My API Key', }); const invitation = await client.organizations.invitations.delete('id', 'invitation_id'); console.log(invitation.id);
{ "data": { "id": "org_01jh6jk82zjq9deye73h0mzcaq", "invitation_id": "invit_01jnxn8wd3gvcr98yscpctd9vw", "kind": "invitation" } }
Delete an invitation
Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>
The organization id
The invitation id
A successful response
The response is of type object.
object