update_webhook_subscription
PATCH
/webhook-subscriptions/{subscription_id}AuthorizationBearer <token>
A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.
In: header
Path Parameters
subscription_id*string
Subscription id
Format
uuidRequest Body
application/json
The settings to change, and the updated_at the caller last read
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/webhook-subscriptions/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "expected_updated_at": "2019-08-24T14:15:22Z" }'{ "created_at": "2019-08-24T14:15:22Z", "description": "string", "event_types": [ "string" ], "expired_delivery_count": 0, "failing_since": "2019-08-24T14:15:22Z", "held_delivery_count": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "include_child_runs": true, "last_expired_at": "2019-08-24T14:15:22Z", "last_success_at": "2019-08-24T14:15:22Z", "principal_disabled_at": "2019-08-24T14:15:22Z", "secret_rotated_at": "2019-08-24T14:15:22Z", "service_principal_id": "0d57b427-9ed2-4a5e-b0bd-32c8ce299b8e", "status": "active", "updated_at": "2019-08-24T14:15:22Z", "url": "string"}