Delete allocator metadata item
Removes a single item from the allocator metadata.
Path parameters
-
The allocator identifier.
-
The metadata item key.
Query parameters
-
version string
Checks for conflicts against the metadata version, then returns the value in the
x-cloud-resource-version
header.
DELETE /platform/infrastructure/allocators/{allocator_id}/metadata/{key}
curl \
-X DELETE https://{{hostname}}/api/v1/platform/infrastructure/allocators/{allocator_id}/metadata/{key}
Response examples (200)
[
{
"key": "string",
"value": "string"
}
]
Response examples (404)
# Headers
x-cloud-error-codes: allocators.allocator_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}