Unattach integration pack instance from an environment
This GraphQL mutation detaches an Integration Pack instance from an environment.
Code samples
This mutation takes integrationPackInstanceEnvironmentAttachmentUnattach object as input.
Input syntax
mutation unattachIpackInstance {
integrationPackInstanceEnvironmentAttachmentUnattach(
id: "ID!"
)
}
| Field | Type | Description | Required/Optional |
|---|---|---|---|
| id | ID | A unique ID assigned by the system to the installed instance of the integration pack. | Required |
Return syntax
{
"data": {
"integrationPackInstanceEnvironmentAttachmentUnattach": "String"
}
}
Platform API objects
This GraphQL mutation uses the following Boomi Enterprise Platform API object:
| Platform API Object | Operation | URL |
|---|---|---|
| IntegrationPackEnvironmentAttachment. See documentation. | DELETE | https://api.boomi.com/api/rest/v1/accountId/IntegrationPackEnvironmentAttachment/id |
Implementation
To detach the Integration Pack instance from an environment, send the mutation request with the id of the Integration Pack instance to platform.boomi.com/graphql with the following headers:
| Key | Value |
|---|---|
| SPACE_GUID | <The Space guid\> |
| Authorization | Bearer<Token> |
| Accept | application/json |
note
The id is the ID of the instance of the multi-install Integration that you want to detach from its environment, and is initially returned in the response of the Install an Integration mutation request.
Sample request
mutation unattachIpackInstance {
integrationPackInstanceEnvironmentAttachmentUnattach(
id: "<IpackinstanceID>"
)
}
Sample response
{
"data": {
"integrationPackInstanceEnvironmentAttachmentUnattach": "QVRUQUNIX0lQQUNLX0VOVlNXNTBaV2R5WVhScGIyNVFZV05yU1c1emRHRnVZMlV6TkRRNE5nOjg2YjQxM2E4LTFlYmYtNGM5NS1iYzViLTEzOTU3M2I3NzkxMA"
}
}