Available in Classic and VPC
Cancel the reserved message delivery.
Request
This section describes the request format. The method and URI are as follows:
| Method | URI |
|---|---|
| DELETE | /sms/v2/services/{serviceId}/reservations/{reserveId} |
Request headers
For information about the headers common to all Simple & Easy Notification Service APIs, see Simple & Easy Notification Service request headers.
Request path parameters
You can use the following path parameters with your request:
| Field | Type | Required | Description |
|---|---|---|---|
serviceId |
String | Required | SMS service ID
|
reserveId |
String | Required | Reservation request ID
|
Request example
The request example is as follows:
curl --location --request DELETE 'https://sens.apigw.ntruss.com/sms/v2/services/ncp:sms:kr:50*********1:sens/reservations/RSSA-*************-****-********-ZzdhBYsk' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
This section describes the response format.
Response status codes
For information about the HTTP status codes common to all Simple & Easy Notification Service APIs, see Simple & Easy Notification Service response status codes.
Response example
If the response is successful, the reservation is canceled along with the message 204 No Content.