End a Spending Limit Control Subscription

delete

{apiRoot}/nchf-spendinglimitcontrol/v1/subscriptions/{subscriptionId}

Ends an existing spending limit control subscription for a specified subscriber.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

204 Response

The spending limit control subscription was ended succesfully.

400 Response

The request isn't valid.
Body ()
Root Schema : Error
Type: object
An error.
Show Source

401 Response

The client doesn't have the correct privileges.
Body ()
Root Schema : Error
Type: object
An error.
Show Source

403 Response

The request wasn't authorized.
Body ()
Root Schema : Error
Type: object
An error.
Show Source

404 Response

The requested resource wasn't found.
Body ()
Root Schema : Error
Type: object
An error.
Show Source

429 Response

The client has sent too many requests.
Body ()
Root Schema : Error
Type: object
An error.
Show Source

500 Response

An internal server error occurred.
Body ()
Root Schema : Error
Type: object
An error.
Show Source

503 Response

The server is overloaded or down for maintenance.
Body ()
Root Schema : Error
Type: object
An error.
Show Source
Back to Top

Examples

The following example shows how to end a specified spending limit subscription by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see "Use cURL".

curl -X DELETE 'apiRoot/nchf-spendinglimitcontrol/v1/subscriptions/imsi-6500000427" -H "accept: */*"

where apiRoot is for accessing the HTTP Gateway server at either http://hostname:httpPort or https://hostname:httpsPort.

Example of the Response Body

If successful, the response code 204 is returned along with a header. For example:

connection: keep-alive
date: Tue, 12 Jul 2022 08:28:22 +0530
Back to Top