| Parameter | Type | Description |
|---|---|---|
| id | integer | Alert ID |
| Parameter | Type | Description |
|---|---|---|
| message | string | Message (optional) |
| Key | Type | Description |
|---|---|---|
| alert | Alert | See: Alert model |
| Status | Description |
|---|---|
404 | Alert not found |
405 | Alert cannot be deactivated |
422 | Invalid parameters - see Invalid parameters errors model |
{
"alert": {} // Alert - see 'Alert model'
}curl --location --request PUT 'https://api.mpc.dev.placewise.com/v1/operations/alerts/1/deactivate' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json'{}