PATCH /v1/projects/{idOrName}/protection-bypass

Update the deployment protection automation bypass for a project

Servers

Path parameters

Name Type Required Description
idOrName String Yes

The unique project identifier or the project name

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
teamId String No

The Team identifier to perform the request on behalf of.

slug String No

The Team slug to perform the request on behalf of.

Request body fields

Name Type Required Description
generate Object No

Generate a new secret. If neither generate or revoke are provided, a new random secret will be generated.

generate.secret String No

Optional value of the secret to generate, don't send it for oauth2 tokens

revoke Object No

Optional instructions for revoking and regenerating a automation bypass

revoke.regenerate Boolean Yes

Whether or not a new automation bypass should be created after the provided secret is revoked

revoke.secret String Yes

Automation bypass to revoked

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.