Website editors

Remove a website editor or cancel an invitation

Revokes a website-scoped editor grant when called with principalId, or cancels a pending invitation (so its emailed link stops working) when called with invitationId — provide exactly one. Returns 404 when the principal has no direct grant or the invitation does not exist; canceling an invitation that was already accepted or canceled returns 409. Access inherited from an organization role is unaffected. Grants are listed by websites.editors.list; invitations are listed by websites.editorInvitations.list.

delete/websites/{websiteId}/editors

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/websites/{websiteId}/editors
  • Auth: HTTP bearer

Path parameters

websiteIdstring required

Request body

principalIdstring

Principal whose direct editor grant should be revoked. Provide either this or invitationId.

invitationIdstring

Pending invitation to cancel so its emailed link stops working. Provide either this or principalId.

Response

The removed editor grant or the canceled invitation.

OR

Changes

No recorded changes to this operation across all 1 revision of this API.