Contents

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

NameTypeDescription
locale Requiredlocale

The locale of the default message configuration.

productId RequiredproductId

The product ID of the default message configuration.

Response Codes

StatusReasonTypeDescription
200OK

Request succeeded.

400Bad Request
Content-Type: application/json
(InvalidProductIdError | InvalidLocaleError)

The request is invalid and unacceptable.

401Unauthorized

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.

500Internal 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.

See Also

Default message configuration