Website editors
Add a website editor by email
Gives an email address full or content editor access to this single website. When the email already belongs to an account, the grant is created immediately (granted) — or nothing changes if that account already inherits access through its organization role (already_inherited). Otherwise a pending invitation is created and emailed; it expires after 48 hours unless you set expiresAt. Re-adding an email with a pending invitation refreshes that invitation instead of creating a duplicate. Change an existing editor’s role with websites.editors.setRole.
post/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
Response
The immediate grant, the already-covered principal, or the pending invitation.
Changes
No recorded changes to this operation across all 1 revision of this API.