Path parameters
-
allocator_id
string Required The allocator identifier.
Query parameters
-
remove_instances
boolean Removes the instances from the deleted allocator.
Default value is
false
.
Responses
-
200 application/json
The allocator specified by {allocator_id} was successfully deleted
-
400 application/json
- 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:
-
404 application/json
The allocator specified by {allocator_id} cannot be found. (code:
allocators.allocator_not_found
)
DELETE
/platform/infrastructure/allocators/{allocator_id}
curl \
--request DELETE 'https://{{hostname}}/api/v1/platform/infrastructure/allocators/{allocator_id}' \
--user "username:password"