Skip to main content
DELETE
Remove a website editor or cancel an invitation

Authorizations

Authorization
string
header
required

Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.

Path Parameters

websiteId
string
required
Minimum string length: 1

Body

application/json
principalId
string

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

Minimum string length: 1
invitationId
string

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

Minimum string length: 1

Response

The removed editor grant or the canceled invitation.

status
string
required

The principal’s direct editor grant was revoked.

Allowed value: "removed"
grant
object
required