Create or update an asset type
PUT/asset-types
Creates a new asset type when the body has no id, otherwise updates the existing one and re-links its signal templates. Validates properties and unique asset-type names, and returns the stored asset type. Responds 409 if another asset type of the tenant already carries the name.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- default
OK
the default error response
Unauthorized — the bearer token is missing, expired or invalid, or carries no role. Errors raised by the security aspects contain an ErrorDto body; requests rejected by the security filter chain may have an empty body.
Forbidden — the authenticated user lacks the required role or access rights.
Entity not found.
Conflict — an object with the same unique key already exists.
the default error response