PUT /WorkApps/{workAppId}/Policies/{requestType}

Updates the policy assigned to a Work App for a specific request type.

put
Authorizations
Path parameters
workAppIdstring · uuidRequired

The Work App's unique identifier.

requestTypeall ofRequired

The request type to associate the policy with.

string · enumOptionalPossible values:
Header parameters
X-API-SECRETstringRequired

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.

Example: YOUR_API_SECRET
Body
all ofOptional

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.

Responses
204

No Content

put
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

Last updated

Was this helpful?