workspaces

PUT /workspaces/{workspace}/policies/{policy}/actions/{action}/

Changed on

Update 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

actionstring required

The slug_perm (identifier) of the Action.

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

      the endpoint scheme security apikey was removed from the API

    • info

      the endpoint scheme security basic was removed from the API