Deployments
Disable deployment hook
Disable the deployment hook for an application. The existing hook URL will stop working immediately. A new secret is generated if the hook is re-enabled later.
DELETE
Disable deployment hook
Authorizations
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Application identifier
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Example:
"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Response
Deployment hook disabled successfully
Previous
Get application repositoryRetrieve metadata about the Git repository connected to an application: the source type, Git provider, repository URL, default branch, and the commit currently running (from the latest successful deployment). Call this first to discover the deployed commit SHA, then pass it as the `ref` to the tree and contents endpoints to inspect exactly the code that is running. Only applications with a `privateGit` or `publicGit` source have a repository; `dockerImage` and internally created apps return 422.
Next
Disable deployment hook