PUT /WorkApps/{workAppId}/PermissionLevels/{permissionLevelId}/Policies/{requestType}
Updates the policy assigned to a specific permission level within a Work App for a given request type.
put
Authorizations
Path parameters
workAppIdstring · uuidRequired
The Work App's unique identifier.
permissionLevelIdstring · uuidRequired
The permission level's unique identifier.
requestTypeall ofRequired
The request type to associate the policy with.
string · enumOptionalPossible values:
Header parameters
X-API-SECRETstringRequiredExample:
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
Body
all ofOptional
Request model used to update the policy applied when a request is created for a specific permission level.
Responses
204
No Content
401
Unauthorized
404
Not Found
409
Conflict
500
Internal Server Error
put
PUT /api/v1/WorkApps/{workAppId}/PermissionLevels/{permissionLevelId}/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
Last updated
Was this helpful?