Delete Onboarded Carrier
Delete an onboarded carrier contact associated with the specific contact_id. This endpoint allows customers to remove their own validated contact information.
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/contacts/{contact_id}Method:
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.
Path Params
contact_id (string, UUID format, required): Existent contact ID, to be deleted.
Request Example:
Response:
200 OK: A JSON object containing updated information of carrier contact.
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 the provided
contact_iddoesn't exist or is not created.500 Internal Server Error: If there is an issue on the server that prevents processing the request.
Response Body:
200 OK – Contact Deleted Successfully
400 Bad Request
Returned when:
The provided contact id is malformed or missing
401 Unauthorized
When access-token is missing or expired
403 Forbidden
404 Not Found
Deletes an existing onboarded carrier contact for the authenticated customer. Requires a valid JWT token and the appropriate permission. The contact must belong to the authenticated customer.
Unique identifier of the contact to delete.
bd849e72-09f0-4d19-8b20-e227cd4ef455Contact deleted successfully.
Bad Request – Invalid contact identifier.
Unauthorized – Invalid or missing Access-Token.
Forbidden – The user lacks required permission or does not own the contact.
Contact not found.
Internal Server Error.
Last updated