workspaces
POST /workspaces/{workspace}/policies/{policy}/actions/
Changed onCreate an action for a policy.
Request
- Base URLhttps://api.cloudsmith.io/v2
- Auth
- API key in header X-Api-Key
- or HTTP basic
Path parameters
policystring required
The slug_perm (identifier) of the Policy.
workspacestring required
The name of the Workspace.
Request body
Response
Changes
- breaking
added to the response body
oneOflist for the response status - info
added
BlockPackagemapping keys to the request discriminator - info
added to the request body
oneOflist - info
added
BlockPackagemapping keys to the response discriminator for the response status
- breaking
- info
added the optional property
to the response with the status
- info