Subscriptions & Webhooks
Update subscription
Changed onpatch/subscriptions/{id}
Request
- Base URLhttps://api.getmaintainx.com/v1
- AuthHTTP bearer
Path parameters
idinteger required
ID of the subscription
Query parameters
skipWebhookboolean
Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
Headers
x-organization-idinteger
Required if using a multi organizations token
Request body
Example request
{
"type": "API_TOKEN_CREATED",
"url": "https://example.com"
}Response
Successfully edited subscription
Example response
{
"subscription": {
"id": 963,
"type": "API_TOKEN_CREATED",
"url": "https://example.com"
}
}Changes
- warning
added the new
ASSET_CHANGEenum value to the/response property for the response status - info
added the new
ASSET_CHANGEenum value to the request property
- warning
- warning
added the new
LOCATION_CHANGEenum value to the/response property for the response status - info
added the new
LOCATION_CHANGEenum value to the request property
- warning