Webhook Events
License deleted
Aira sends this event after it deletes a license, which a user deletes in the billing app or a system deletes through the API.
WEBHOOK
license.deleted
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event": "license.deleted",
"payload": {
"license": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Active users",
"code": "active_users",
"itemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"archivedAt": "2023-11-07T05:31:56Z"
}
}
}Headers
Body
application/json
The event, with its identifier, its name and its payload.
Response
2XX
Answer with a 2XX status to confirm the delivery. Aira retries a delivery that gets another status, a redirect or no answer.
⌘I
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event": "license.deleted",
"payload": {
"license": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Active users",
"code": "active_users",
"itemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"archivedAt": "2023-11-07T05:31:56Z"
}
}
}