Webhook Subscriptions
Update Webhook
Update a webhook. You can update the endpoint url, event types that the endpoint receives, or temporarily deactivate the webhook.
put/v1/webhooks/{id}
Request
- Base URLhttps://api.brex.com
- AuthOAuth 2Authorization codehttps://accounts-api.brex.com/oauth2/default/v1/authorizeClient credentialsToken URLhttps://accounts-api.brex.com/oauth2/default/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Request body
Example request
{
"url": "https://example.com/webhook",
"group_id": "wg_123",
"status": "ACTIVE"
}Response
Success
Example response
{
"id": "wsub_123",
"group_id": "wg_123",
"url": "https://example.com/webhook",
"status": "ACTIVE"
}Changes
No recorded changes to this operation across all 1 revision of this API.