Path parameters
-
The allocator identifier.
Query parameters
-
remove_instances boolean
Removes the instances from the deleted allocator.
Default value is
false
.
Responses
-
The allocator specified by {allocator_id} was successfully deleted
Additional properties are allowed.
-
- The allocator specified by {allocator_id} could not be deleted. (code:
allocators.delete_connected_allocator_attempt
) - The allocator specified by {allocator_id} could not be deleted. (code:
allocators.delete_allocator_with_instances_attempt
)
- The allocator specified by {allocator_id} could not be deleted. (code:
-
The allocator specified by {allocator_id} cannot be found. (code:
allocators.allocator_not_found
)
DELETE
/platform/infrastructure/allocators/{allocator_id}
curl \
-X DELETE https://{{hostname}}/api/v1/platform/infrastructure/allocators/{allocator_id}
Response examples (200)
{}
Response examples (400)
# Headers
x-cloud-error-codes: allocators.delete_connected_allocator_attempt
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: allocators.allocator_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}