Update an integration site installation
patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100RequiredPattern:
Name of the integration.
^[a-zA-Z0-9-_.]+$installationIdstringRequired
Identifier of the installation
siteIdstringRequired
The unique id of the site
Query parameters
extendedbooleanOptionalDefault:
If true, returns the site object in each items. If false, returns the site ID in each items.
falseBody
externalIdsstring[] · max: 5Optional
External IDs assigned by the integration.
Responses
200
The site installation has been updated.
application/json
Base properties of an installation of an integration on a site or space.
integrationstringRequired
Unique name identifier of the integration
installationstringRequired
ID of the integration installation
statusstring · enumRequiredPossible values:
configurationobjectRequired
Configuration of the integration for this site
externalIdsstring[] · max: 5Required
External IDs assigned by the integration.
siteone ofRequired
The site the integration is installed on. Using the string value is deprecated in favor of site.id
stringOptional
patch/integrations/{integrationName}/installations/{installationId}/sites/{siteId}
PATCH /v1/integrations/{integrationName}/installations/{installationId}/sites/{siteId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 79
{
"externalIds": [
"text"
],
"configuration": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}200
The site installation has been updated.
{
"integration": "text",
"installation": "text",
"status": "active",
"configuration": {},
"externalIds": [
"text"
],
"urls": {
"location": "https://example.com",
"publicEndpoint": "https://example.com",
"publicContentEndpoint": "https://example.com"
},
"site": "text"
}Last updated
Was this helpful?