Set a website editor’s role
Sets the principal’s editor role on this single website, replacing any existing grant for that principal. role is full (full website editing) or content (content editing only). Principals who already inherit access through their organization role are rejected with a validation error. Use websites.editors.add to add someone by email instead of principal id.
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Path Parameters
11Body
full, content Response
The saved editor grant.
Id of the website the grant applies to.
Id of the principal holding the grant.
full allows full website editing; content allows content editing only.
full, content When the grant was created.