Unsubscribe from IdP Radar alerts
DELETE /v1/idp_radar/alert_subscription: Unsubscribe from IdP Radar alerts.
DELETE /
- Scope
environment:write- Auth
- Secret key (
sk_…) - Since
- 1.0
Headers
Section titled “Headers”
Minor version; defaults to the environment’s pin.OhAuthCat-Versionstring
Responses
Section titled “Responses”- 200 OK Deleted
- default Any other error, including internal_error. Every code is in the error catalogue. Error
Errors share one shape; see the error code catalogue.
curl -X DELETE \ "https://api.ohauthcat.com/v1/idp_radar/alert_subscription" \ -H "Authorization: Bearer $OHAUTHCAT_API_KEY"const response = await fetch("https://api.ohauthcat.com/v1/idp_radar/alert_subscription", { method: "DELETE", headers: { Authorization: `Bearer ${process.env.OHAUTHCAT_API_KEY}`, },});const data = await response.json();import osimport requests
response = requests.delete( "https://api.ohauthcat.com/v1/idp_radar/alert_subscription", headers={"Authorization": f"Bearer {os.environ['OHAUTHCAT_API_KEY']}"},)data = response.json(){ "id": "01J9Z3K5V7W8X9Y0Z1A2B3C4D5", "deleted": true}