Permissions

Assign permissions to a site

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

post/api/accounts/{account_name}/sites/{site_name}/permissions

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/accounts/{account_name}/sites/{site_name}/permissions
  • Auth
    HTTP basic

Path parameters

account_namestring required

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

site_namestring required

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

Request body

permissionsstring[]

Permissions the account has on the site.

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.