Invitations

Cancel organization invitation

Changed on

Cancels a pending organization invitation so the invite link can no longer be used.

post/v1/invitations/{invitationId}/cancel

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/invitations/{invitationId}/cancel
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

invitationIdstring typeid required

Den TypeID with 'inv_' prefix and a 26-character base32 suffix.

Response

Invitation cancelled successfully.

successtrue required

Changes

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API