This API deletes a registered Class B vessel (ship) from a specific category (categoryId).
Deletion is not permitted immediately after registration. By default, a vessel can be deleted only after 7 days have elapsed since registration.
Authentication
The NonIMONo (Class B) Fleet API uses Basic Authorization for user authentication via Swagger UI.
Authentication steps:
1.
Click the Authorize button in the top-right corner.
2.
Enter the provided credentials (username and password).
3.
Click Authorize again to proceed.
4.
Click Close to exit the authorization dialog.
All API requests executed from Swagger UI automatically include authentication credentials.
All API request executed from Swagger UI automatically include authentication credentials.
Request Information
Request Details
Request URL : [DELETE] https://insight.seavantage.com/api/fleet/class-b
Excutiin Steps
1.
2.
Navigate to the /fleet/class-b endpoint.
3.
Click Try it out to enable the input fields.
4.
Configure request parameters:
โข
categoryId + shipId : Deletes the specified Class B vessel from a specific category.
โฆ
categoryId must be a UUID
โฆ
โข
shipId only : Deltes the vessel from all categories it belongs to.
โฆ
shipId must be a UUID
โฆ
5.
Click Execute.
6.
Review the result in the response section.
This API is used for category-level vessel management to remove vessels from a category.
Response Information
Response Examples
โข
On success
โฆ
HTTP Status : 204 No Content
โฆ
No response body
โข
On failure
{
"code": 400,
"message": "Invalid request body. Trace id : 5d4c6d66874f3faeeb186d5137bc799f",
"error": true,
"timestamp": "2024-12-01T12:00:00",
"response": null
}
JSON
๋ณต์ฌ
Response Field Details
Failure Response Field Definitions
Field | Example | Description |
code | 400 | Response status code (Aligned with HTTP status code)
(See the list of codes below for reference) |
message | Invalid request body. | Error description |
error | true | true: error occurred
false: success |
timestamp | 2024-12-01T12:00:00 | Response generation time (UTC) |
Response Status Codes
Code | Description |
204 | Deleted |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
422 | Unprocessable entity |
429 | Too many requests, standard rate limit of 100 requests per minute exceeded |




ย ย 


