Skip to content

Cancel an invitation

DELETE
/api/v1/invitations/{id}

Requires the admin role. Destroys the invitation, invalidating the emailed invite link.

NameType
id
required
string

The record’s prefixed ID

200

A confirmation message

Response body
Media typeapplication/json
object
message
string

403

Insufficient scope, role, or credits

Response body
Media typeapplication/json
object
error
object
code
string

A stable machine-readable code

message
string
details
Array<string>

Present on validation errors; one entry per failed validation

404

No such record in this account

Response body
Media typeapplication/json
object
error
object
code
string

A stable machine-readable code

message
string
details
Array<string>

Present on validation errors; one entry per failed validation