Delete Style

Delete Style

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

Description

Permanently delete a style. Subsequent Core API requests that reference the deleted styleId will fall back to the default style.

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 style 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.
  • 404 Not Found: No style exists with the given id on the caller’s account.
Example Request
DELETE https://<your-host>:9909/api/portal/v1/styles/42
Authorization: Bearer <token>

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