/LESSON 8
Step 6
Grant site access
Grant site access to a client and assign permissions for the account
Once both a site and a client account have been created, the next step is to assign that client account access to the specific site and configure their permissions.
Using the
Grant Site Access API call, you can grant a client access to a site. This step links the client to the site in your account. Along with assigning access, you'll also define the
permissions the client should have. Permissions can be tailored based on the client's technical comfort level or the level of control you want them to have.
Permissions are site-specific, which means you can assign different levels of access for each site a client is associated with.
A successful request to the API ensures your client can access the designated site with only the tools and features you've enabled for them.
API Endpoint
POST https://api.duda.co/api/accounts/
{account_name}
/sites/
{site_name}
/permissions
Grants access to a site for an account and sets permissions.
Documentation:
Developer Reference – Grant Site Access |
Client Permissions Object