Delete API Token

Delete API Token

DELETE
/api/portal/v1/apiTokens/{id}

Description

Permanently delete an API token. Any client using the deleted token will receive 401 Unauthorized on subsequent requests.

Authentication

This endpoint requires a Bearer token in the Authorization header.

  • Authorization: Bearer <token>. A valid Portal API session token or API token.

Path Parameters

  • id: The id of the token to delete.

Response

On success, the endpoint returns a 204 No Content response with an empty body.

Error Responses

  • 401 Unauthorized: The Authorization header is missing or the token is not valid.
Example Request
DELETE https://<your-host>:9909/api/portal/v1/apiTokens/299ce9bf4f244300a96f3926240f9c0d
Authorization: Bearer <token>

Example Response
Status Code: 204 No Content
VectorCharts.com © 2024, Zydro Marine Technologies, Inc. · vectorcharts.com