Skip to main content
O&M Management/Custom Attribute
DELETECustom AttributeSince 4.10.16SynchronousAuth Required

Delete Custom Attribute Key

Delete Custom Attribute Key

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Path Parameters

Query Parameters

Request Inputs

Path Parameters

  • uuidStringRequired

    Custom attribute key UUID

Query Parameters

  • deleteModeString

    Deletion mode (Permissive or Enforcing, defaults to Permissive)

  • systemTagsList

    System tags

  • userTagsList

    User tags

Responses

DELETE endpoints return an empty object on success, or a standard error structure on failure.

Success Response

{}

Error Response

{
  "error": {
    "code": "SYS.1001",
    "description": "A message or a operation timeout",
    "details": "Delete resource timeout after 300s"
  }
}

Endpoint

DELETE/zstack/v1/resource-attributes/{uuid}

/zstack/v1/resource-attributes/{uuid}

Operation ID

DeleteResourceAttributeKey

Permalink

Request Example

curl -X DELETE 'http://{host}/zstack/v1/resource-attributes/{uuid}?deleteMode=<deleteMode>&systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'

Response Example

200
{}

Change History

This API has no change history records yet.

View all change history