Assigns permissions to a site

If the user already have permissions to the sites they will be overwritten

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

If no permissions are provided in the API call, then no site access will be granted.

When giving customers access to a site, it is important to note that some permissions are dependent on other permissions being present. For example, you cannot give a customer access to a site's SEO if they do not have permission to edit the site first. See below for which permissions are dependent on others for each site type.

If you would like to update the permissions that a specific customer has to a site, you can call the same API to overwrite any existing permissions.

Path Params
string
required

The account's unique name, set when the account is created.

string
required

The site's unique name (its ID), returned when the site is created.

Body Params
permissions
array of strings

Permissions the account has on the site.

permissions
Responses
204

No Content

405

Method Not Allowed

500

Internal Server Error

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json