PUT /WorkApps/{workAppId}/Policies/{requestType}
PreviousPOST /WorkApps/AccessesNextPUT /WorkApps/{workAppId}/PermissionLevels/{permissionLevelId}/Policies/{requestType}
Last updated
Was this helpful?
Last updated
Was this helpful?
The Work App's unique identifier.
The request type to associate the policy with.
API Secret is used to verify the integrity of the request and authenticate the client. It should be included in all requests. This value must be kept confidential and should never be exposed in client-side code or public repositories.
YOUR_API_SECRET
Request model used to update the default policy for a work app, applied only if no more specific policy exists for the requested permission level.
PUT /api/v1/WorkApps/{workAppId}/Policies/{requestType} HTTP/1.1
Host: open-api.getcakewalk.io
X-API-KEY: YOUR_API_KEY
X-API-SECRET: YOUR_API_SECRET
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"policyId": "123e4567-e89b-12d3-a456-426614174000"
}
No content