Delete Default Message
Deletes a default message for a product in a locale.
URL
DELETE https://api.storekit.apple.com/inApps/v1/messaging/default/{productId}/{locale}Sandbox URL
DELETE https://api.storekit-sandbox.apple.com/inApps/v1/messaging/default/{productId}/{locale}Path Parameters
| Name | Type | Description |
|---|---|---|
locale Required | locale | The locale of the default message configuration. |
productId Required | productId | The product ID of the default message configuration. |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK | Request succeeded. | |
| 400 | Bad Request Content-Type: application/json | (InvalidProductIdError | InvalidLocaleError) | The request is invalid and unacceptable. |
| 401 | Unauthorized | The JSON Web Token (JWT) in the authorization header is invalid. For more information, see Generating JSON Web Tokens for API requests. | |
| 429 | Content-Type: application/json | RateLimitExceededError | The request exceeded the rate limit. For more information, see Identifying rate limits. |
| 500 | Internal Server Error Content-Type: application/json | GeneralInternalError | Server error. Try again later. |
Mentioned in
Discussion
Call this endpoint to delete a default message configuration. After a successful deletion, productId in locale has no default message.
This endpoint is idempotent. If the product has no configured default message for the locale, the endpoint still responds with a 200 status code.