DELETE - Batch delete location points
Batch delete location points
Request
- Method:
DELETE - Endpoint:
/locations/points/batch - Base URL:
https://api.targpatrol.com/api/v1 - Operation ID:
batch-delete-location-points
Authorization
This endpoint requires an external API key.
x-api-key: {your_external_api_key}
Request Body
Required: no
Content-Type: application/json
Schema: array
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
Example: example-1
[
"497f6eca-6276-4993-bfeb-53cbbbba6f08",
"54ccef81-dc56-4a6f-bfdc-7d47182ee1bb"
]
Responses
204 No Content
400 Bad Request
Content-Type: application/json
Schema: ErrorResponse
Schema
{
"$ref": "#/components/schemas/ErrorResponse"
}
Example: example-1
{
"message": "invalid input data",
"code": "input.data.invalid",
"timestamp": "2023-03-07T05:57:59.315Z"
}
401 Unauthorized
404 Not Found
Content-Type: application/json
Schema: ErrorResponse
Schema
{
"$ref": "#/components/schemas/ErrorResponse"
}
Example: example-1
{
"message": "resource wasn't found",
"code": "not.found",
"timestamp": "2023-03-07T05:57:59.315Z"
}
406 Not Acceptable
Content-Type: application/json
Schema: ErrorResponse
Schema
{
"$ref": "#/components/schemas/ErrorResponse"
}
Example: example-1
{
"message": "mismatch in the types of content",
"code": "not.acceptable",
"timestamp": "2023-03-07T05:57:59.315Z"
}
500 Internal Server Error
Content-Type: application/json
Schema: ErrorResponse
Schema
{
"$ref": "#/components/schemas/ErrorResponse"
}
Example: example-1
{
"message": "internal server error",
"code": "internal.server.error",
"timestamp": "2023-03-07T05:57:59.315Z"
}