Unsubscribe-to-Notifications Call Flow
This section describes the call flow on how the SMF sends a request to the UDM to unsubscribe from notifications of data changes.

Step |
Description |
---|---|
1 |
The NF service consumer such as SMF sends a request to the UDM to unsubscribe from notifications. By unsubscribing, the UDM no longer sends notifications to SMF when the data modifications occur in the respective subscriber session. The NF service consumer sends a DELETE request to the resource identified by the URI. The NF service consumer receives the URI when the subscription gets created. |
2a |
If the deletion of request is successful, the UDM responds with "204 No Content". |
2b |
If the subscription is invalid, which could be due to an unknown subscriptionId value, then the HTTP status code "404 Not Found" is returned along with the additional error information in the response body (as part of the "ProblemDetails" element). If the request is not processed, then the appropriate HTTP status code indicating the error is returned in the DELETE response body along with the additional error information. |