Delete allocator

Deletes an allocator by id.

Request

DELETE /api/v1/platform/infrastructure/allocators/{allocator_id}

Path Parameters

allocator_id (required)
(string) Identifier for the allocator

Query Parameters

remove_instances
(boolean) Whether or not to also remove the instances on the allocator that's being deleted.

Responses

200
(EmptyResponse) The allocator specified by {allocator_id} was successfully deleted.
400
(BasicFailedReply) The allocator specified by {allocator_id} could not be deleted, probably because it's connected.
404
(BasicFailedReply) The allocator specified by {allocator_id} cannot be found (code: 'allocators.allocator_not_found')
449
(BasicFailedReply) When running as an administrator (other than root), sudo is required (code: 'root.needs_sudo')