Replace the organization's Code policy
PUT /api/v1/code/policy on the Caveman Cloud control plane. Requires the org:update scope. Not exposed to autonomous agents: Service accounts, their code:run keys and the organization's Code policy are a person's decisions (org:update). No agent connection mints credentials, disables an account or changes the policy.
put/code/policy
Request
- Base URLhttps://api.caveman.so/api/v1
- URLhttps://api.caveman.so/api/v1/code/policy
- Auth
- OAuth 2Authorization code: /api/v1/oauth/authorizeToken URL: /api/v1/oauth/token scopes: org:update
- or HTTP bearer
- or API key in cookie cave_access
- or API key in cookie __Secure-cave_identity.session_token
Request body
Response
The policy
Changes
No recorded changes to this operation across all 1 revision of this API.