Deletes the existing integration from the Git Integration for Jira app repository configuration.
Only Jira admins can perform the Remove Integration API call.
url
/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.
Indicates whether the integration folder is also deleted from the Jira server. If set to true, the repository folder is deleted from the Jira server. |
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)