Get service levels

Prev Next
Get
/inventory/serviceLevels

Returns the list of configured service levels.

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

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

Responses
200

Successful operation.

Array of object
object
id
string

The service-level object identifier.

name
string

The name of the service level.

level
integer

The integer value used to compare and sort service levels.

alertingFeature
boolean

The flag indicating whether the alerts management is enabled or not.

notificationsFeature
boolean

The flag indicating whether the notifications management is enabled or not.

thingPricing
object

The thing pricing model.

authorizationPricing
object

The authorization pricing model.

features
object

The list of features enabled on this service level.

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 exeeded.

object
message
string

The error response.

ExampleAPI call rate limit exeeded