Deletes the existing integration from the Git Integration for Jira app repository configuration.
url
{JiraBaseURL}/rest/gitplugin/1.0/integration/{integrationId}
method
DELETE
Parameters
Field | Description |
---|---|
integrationId | Integer. Required.
This is the ID of the existing integration. For example, |
deleteFiles | Boolean. Optional.
Default value is |
response | Deletes the integration from the Git Integration for Jira app repository configuration. If the deleteFiles parameter is set to true, the folders of all the repositories of the integration are also deleted from the Jira instance. |
format | http://jira.yourorg.com/rest/gitplugin/1.0/integration/[integrationId]?deleteFiles=true |
Examples
Example 1:
http://jira.yourorg.com/rest/gitplugin/1.0/integration/154?deleteFiles=true
Response:
{
"success": true
}
Example 2:
http://jira.yourorg.com/rest/gitplugin/1.0/integration/5?deleteFiles=true
Response:
{
"success": false,
"error": "Repository with id=5 does not exist",
"advice": "Please try again with an existing repository id."
}
Integration REST APIs
Add New Integration Type API (examples)
Remove Integration (this page)