Delete allocator metadata item
Removes a single item from the allocator metadata.
Path parameters
-
allocator_id
string Required The allocator identifier.
-
key
string Required 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 \
--request 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"
]
}
]
}