API reference

API reference · Organizations

Revoke an open invitation

DELETE/api/orgs/{id}/invitesSigned in session

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredintegerThe organization id.

Request body

application/json, required

Request body fields
FieldTypeWhat it is
inviteIdrequiredinteger

Example

{
  "inviteId": 0
}

Answer 200

Revoked.

Fields of the 200 answer
FieldTypeWhat it is
okboolean

Errors

  • 400OpenAI shaped error.
  • 403OpenAI shaped error.
  • 404OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter