- Print
- PDF
Delete shopping intent
- Print
- PDF
Available in Classic and VPC
Delete a profile from a shopping intent.
Use this when you want to delete a profile that you no longer use or that is unnecessary. Deletion may not be possible depending on the current status and dependencies of the profile.
Check deletion condition
Profile status | |
---|---|
Deletion available | registered registeredcompleted availablefailed failed |
Deletion unavailable | pending pendingin_progress creating |
If the deletion is not possible, you will receive an error message. After checking the error message, proceed under the conditions that allow deletion.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
DELETE | /api/v1/profile/shopping-intents/{profile_id} |
Request headers
For information about the headers common to all NCLUE APIs, see Common NCLUE headers.
Request path parameters
You can use the following path parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
profile_id | String | Required | Profile ID
|
Request example
The request example is as follows:
curl --location --request DELETE 'https://nclue.apigw.ntruss.com/api/v1/profile/shopping-intents/{profile_id}' \
--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 example
The response example is as follows:
Succeeded
The following is a sample response upon a successful call.
{
"profile_id":"bce6d560-99ce-4a26-809d-03f750371d52"
}
Failure
For examples of responses in the event of a failed call, see Response status codes.