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-Token in the header of your requests.

  • Include your x-api-key The 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_id doesn'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

Delete an onboarded carrier contact

delete

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.

Authorizations
Path parameters
contact_idstring · uuidRequired

Unique identifier of the contact to delete.

Example: bd849e72-09f0-4d19-8b20-e227cd4ef455
Responses
chevron-right
200

Contact deleted successfully.

application/json
delete
/onboarded-carrier/contacts/{contact_id}

Last updated