Delete Onboarded Carrier Bulk
Authentication
Include your
Access-Tokenin the header of your requests.Include your
x-api-keyThe API key provided by GenLogs. This header must be included in the request.
Permissions
The external-api-delete-onboarded-carrier-contact permission is required to access this endpoint.
Endpoint
URL:
https://api.genlogs.io/onboarded-carrier/bulk/contactsMethod:
DELETE
Headers
Access-Token: (string, required): Access token obtained from the "Create Access Token" endpoint.
X-Api-Key (string, required): The API key provided by GenLogs.
Request body
contact_ids (list, UUID format str, required): Existent contact ID list, to be deleted.
Request Example:
Response:
200 OK: A JSON object containing a list of deleted carrier contact(s).
400 Bad Request: If required parameters are missing or invalid.
401 Unauthorized: If the authentication credentials (Access-Token) is missing or incorrect.
403 Forbidden: If the permission has not been added to your user.
404 Not Found: If one or more of the provided
contact_idsdoesn't exist or are not created.500 Internal Server Error: If there is an issue on the server that prevents processing the request.
Response Body:
200 OK – Contacts Deleted Successfully
400 Bad Request
Returned when:
The provided contact id list is malformed or missing
401 Unauthorized
When access-token is missing or expired
403 Forbidden
404 Not Found
Deletes multiple onboarded carrier contacts for the authenticated customer in a single request. All provided contact IDs must exist and belong to the authenticated customer. The operation follows the same authorization, repository, caching, and deletion logic as the single-contact delete flow.
List of contact UUIDs to delete.
["bd849e72-09f0-4d19-8b20-e227cd4ef455","7e2c8f6a-0f31-4e6a-bf1c-9c4d4c1e8f22"]Contacts deleted successfully.
Bad Request – Invalid request body.
Unauthorized – Invalid or missing Access-Token.
Forbidden – Missing required permission.
One or more contacts not found or not owned by the customer.
Internal Server Error.
DELETE /onboarded-carrier/bulk/contacts HTTP/1.1
Host: api.genlogs.io
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"contact_ids": [
"bd849e72-09f0-4d19-8b20-e227cd4ef455",
"7e2c8f6a-0f31-4e6a-bf1c-9c4d4c1e8f22"
]
}{
"contacts": [
{
"id": "bd849e72-09f0-4d19-8b20-e227cd4ef455",
"deleted": true
}
]
}Last updated