Delete custom attributes

Prev Next

Available in VPC

Delete the profile of custom attributes that are no longer used or unnecessary.

The deletion conditions for a profile are as follows.

Deletion availability Profile status
Available
  • registered: registered
  • completed: available
  • failed: failed
Unavailable
  • pending: pending
  • in_progress: creating
Note

If the deletion is not possible, you will receive an error message. Try again under conditions where deletion is possible.

Request

This section describes the request format. The method and URI are as follows:

Method URI
DELETE /profile/custom-attributes/{profile_id}

Request headers

For information about the headers common to all NCLUE APIs, see NCLUE request 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/custom-attributes/{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 body

The response body includes the following data:

Field Type Required Description
profile_id String - Profile ID

Response status codes

For response status codes common to NCLUE, see NCLUE response status codes.

Response example

The response example is as follows:

{
    "profile_id": "a7f4f996-****-****-****-b0531230e17e"
}