- Unsubscribe a user from a specific notification type
- okta.users.manage
Unsubscribes the current user from a specified notification type. Returns an AccessDeniedException message if requests are made for another user.
The type of notification
| Enum Value | Description |
|---|---|
| AD_AGENT | System notification sent when an AD agent disconnects or reconnects |
| AGENT_AUTO_UPDATE_NOTIFICATION | System notification sent when an agent automatically updates |
| APP_IMPORT | System notification sent with the status of an app user import |
| CONNECTOR_AGENT | System notification sent when an on-premises provisioning or Okta on-prem MFA agent disconnects or reconnects |
| IWA_AGENT | System notification sent when an IGA agent disconnects or reconnects |
| LDAP_AGENT | System notification sent when an LDAP agent disconnects or reconnects |
| OKTA_ANNOUNCEMENT | Okta communication sent for announcements and release notes |
| OKTA_UPDATE | Okta communication sent for scheduled system updates |
| RATELIMIT_NOTIFICATION | System notification sent when an org reaches rate limit warning or violation thresholds |
| REPORT_SUSPICIOUS_ACTIVITY | System notification sent when a user reports suspicious activity |
| USER_DEPROVISION | System notification sent when a user is deprovisioned from apps |
| USER_LOCKED_OUT | System notification sent when a user is locked out from logging in to Okta |
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe
curl -i -X POST \
'https://subdomain.okta.com/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe'