Documentation Index

Fetch the complete documentation index at: https://learn.servitly.com/llms.txt

Use this file to discover all available pages before exploring further.

Delete a spare-part category by id

Prev Next
Delete
/inventory/sparePartDefinitionCategories/{categoryId}

Deletes the spare-part category identified by the given id.
The operation is permanent, therefore it is recommended to verify in advance that no spare-part and no sub-category still belong to it.

Required permissions: READ_SPARE_PART, WRITE_SPARE_PART.

Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired

The name of the tenant (e.g. acme).

Path parameters
categoryId
stringRequired

The spare-part identifier.

Minimum1.0
Exampleabcd1234
Responses
204

Successfully deleted.

401

User not authenticated.

object
message
string

The error response.

ExampleUser not authenticated
403

User not authorized.

object
message
string

The error response.

ExampleUser not authorized
404

Resource was not found.

object
message
string

The error response.

ExampleResource not found
429

API call rate limit exceeded.

object
message
string

The error response.

ExampleAPI call rate limit exceeded
500

Internal server error.

object
message
string

The error response.

ExampleInternal Server Error