Skip to main content
DELETE
/
orgs
/
{orgId}
/
invites
/
{inviteId}
Revoke an invite
curl --request DELETE \
  --url https://api.withampersand.com/v1/orgs/{orgId}/invites/{inviteId} \
  --header 'X-Api-Key: <api-key>'
{
  "type": "about:blank",
  "href": "https://www.belgif.be/specification/rest/api-guide/#standardized-problem-types",
  "title": "Bad Request",
  "status": 400,
  "detail": "The input message is incorrect",
  "instance": "123456-1234-1235-4567489798",
  "issues": [
    {
      "type": "about:blank",
      "detail": "exampleNumericProperty should be numeric",
      "in": "path",
      "name": "exampleNumericProperty",
      "value": "abc"
    },
    {
      "type": "about:blank",
      "title": "Input isn't valid with respect to schema",
      "detail": "examplePropertyWithPattern a2345678901 doesn't match pattern '^\\d{11}$'",
      "in": "body",
      "name": "items[0].examplePropertyWithPattern",
      "value": "a2345678901"
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

orgId
string
required

ID of the organization.

inviteId
string
required

Response

Deleted