workspaces

POST /workspaces/{workspace}/policies/{policy}/actions/

Changed on

Create an action for a policy.

Request

  • Base URL
    https://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

OR
OR
OR

Response

OR
OR
OR

Changes

    • breaking

      added to the response body oneOf list for the response status

    • info

      added BlockPackage mapping keys to the request discriminator

    • info

      added to the request body oneOf list

    • info

      added BlockPackage mapping keys to the response discriminator for the response status

    • info

      added the optional property to the response with the status