Infrastructure/Infrastructure Misc
POSTInfrastructureSince 1.0SynchronousAuth Required
Subscribe
Subscribe to events for the specified resource target type and UUID.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
targetTypeStringRequiredType of the target resource to subscribe events for (e.g. vm, cluster)
Example: vm
targetUuidStringRequiredUUID of the specific resource instance to subscribe events for
Example: vm-abc-001
authTypeStringRequiredAuthentication type for the callback endpoint (hmac, token, basic)
Example: hmac
Responses
Endpoint
POST/api/v1/eventsub/subscribe
/api/v1/eventsub/subscribe
Request Example
curl -X POST '{host}/api/v1/eventsub/subscribe' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"targetType":"vm","targetUuid":"vm-abc-001","authType":"hmac"}'
Response Example
200{
"callbackUrl": "https://example.com/webhook/events",
"authType": "hmac",
"state": "active"
}Change History
This API has no change history records yet.
