Skip to main content
PUT
Set a website editor’s role

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
principalId
string
required
Minimum string length: 1

Body

application/json
role
enum<string>
required
Available options:
full,
content

Response

The saved editor grant.

websiteId
string
required

Id of the website the grant applies to.

principalId
string
required

Id of the principal holding the grant.

role
enum<string>
required

full allows full website editing; content allows content editing only.

Available options:
full,
content
createdAt
string<date-time>
required

When the grant was created.