LogoLogo
Go to WebsiteLoginGet a Demo
  • Introduction
  • Getting Started
  • Authentication
  • Users
    • GET /users
    • GET /users/{id}
  • User Groups
    • GET /UsersGroups/
    • GET /UsersGroups/{usersGroupId}
    • GET /UsersGroups/{usersGroupId}/DefaultWorkApps
    • GET /UsersGroups/{usersGroupId}/HiddenWorkApps
    • GET /UsersGroups/{usersGroupId}/Users
    • POST /UsersGroups/{usersGroupId}/Users
    • DELETE /UsersGroups/{usersGroupId}/Users/{userId}
  • Applications
    • GET /WorkApps
    • GET /WorkApps/{workAppId}
    • GET /WorkApps/{workAppId}/Accesses
    • GET /WorkApps/{workAppId}/PermissionLevels
    • POST /WorkApps/Accesses
    • PUT /WorkApps/{workAppId}/Policies/{requestType}
    • PUT /WorkApps/{workAppId}/PermissionLevels/{permissionLevelId}/Policies/{requestType}
  • Tasks
    • GET /Tasks/{taskId}
    • POST /Tasks/{taskId}/Approve
    • POST /Tasks/{taskId}/Decline
  • Policies
    • GET /Policies/CompatiblePolicies/{requestType}
  • Webhooks
    • Webhook’s signature verification
  • Changelog
Powered by GitBook

Links

  • Privacy policy
  • Imprint
  • Support

© All right reserved, Cakewalk Technology GmbH 2025

On this page

Was this helpful?

  1. Applications

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

PreviousPOST /WorkApps/AccessesNextPUT /WorkApps/{workAppId}/PermissionLevels/{permissionLevelId}/Policies/{requestType}

Last updated 13 days ago

Was this helpful?

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
401
Unauthorized
404
Not Found
409
Conflict
500
Internal Server Error
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