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
idof the style to delete.
Response
On success, the endpoint returns a 204 No Content response with an empty body.
Error Responses
- 401 Unauthorized: The
Authorizationheader is missing or the token is not valid. - 404 Not Found: No style exists with the given
idon 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