Delete feature

Prev Next

Available in VPC

Delete features that are no longer used or unnecessary.

The deletion conditions for a feature are as follows.

Deletion availability Feature status Feature usage status
Available
  • registered: registered
  • completed: available
  • failed: failed
  • If there is no function (task model, task model run, or custom attributes) that uses the feature you want to delete
  • Even if there is a function that uses the feature you want to delete, it is either before the start (registered) or has already been completed (completed, failed)
    Unavailable
    • pending: pending
    • in_progress: creating
    If the function that uses the feature you want to delete (task model, task model run, or custom attributes) is running (pending, in_progress)
    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 /features/{feature_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
    feature_id String Required Feature ID

    Request example

    The request example is as follows:

    curl --location --request DELETE 'https://nclue.apigw.ntruss.com/api/v1/features/{feature_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
    feature_id String - Feature ID

    Response status codes

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

    Response example

    The response example is as follows:

    {
        "feature_id": "848c80c1-****-****-****-120a617b1f2e"
    }