Site policies
Base URL: https://webvyze.com/api/v1 · click an endpoint for its scope, parameters, example and responses.
GET/sites/{site}/policiesPolicy Controller
Needs access to the site, when there is one.
- Scope
api:read- Path parameters
{site} integer- Responses
- 200401402403422429
curl -H "Authorization: Bearer $WEBVYZE_KEY" \
https://webvyze.com/api/v1/sites/{site}/policiesPUT/sites/{site}/policiesPolicy Controller
Needs a token with api:write. Needs access to the site, when there is one.
- Scope
api:write- Path parameters
{site} integer- Responses
- 200401402403422429
curl -X PUT -H "Authorization: Bearer $WEBVYZE_KEY" \
-H "Content-Type: application/json" -d '{}' \
https://webvyze.com/api/v1/sites/{site}/policies