References¶
Complete API Reference¶
Method |
URL |
Description |
---|---|---|
GET |
|
Get a list of all assets. |
GET |
|
Get a single asset by asset id. |
GET |
|
Get a list of all assets. |
Method |
URL |
Description |
---|---|---|
GET |
|
Get a single asset by asset id. |
POST |
|
Add a new asset. |
POST |
|
Add multiple new assets. |
PUT |
|
Updates a single asset. |
PUT |
|
Updates multiple assets. |
DELETE |
|
Deletes a single asset. |
DELETE |
|
Deletes multiple assets. |
GET |
|
Get system stats. |
/v2¶
Method |
URL |
Description |
---|---|---|
POST |
|
Get API token |
GET |
|
Get all update requests |
POST |
|
Add update request |
PUT |
|
Modify update request |
DELETE |
|
Delete update request |
GET |
|
Get all users |
POST |
|
Add user |
PUT |
|
Modify user |
PUT |
|
Modify user status to deactivated |
PUT |
|
Modify user status to active |
DELETE |
|
Delete user |
GET |
|
Retrieves list of configured tenants. Strictly for the msteams collector. |
POST |
|
Register a new msteams tenant. Strictly for the msteams collector. |
Status Codes¶
All status codes are standard HTTP status codes. The table below are status codes commonly used in the API.
Status Code |
Description |
---|---|
200 |
OK |
201 |
Created |
202 |
Accepted |
400 |
Bad Request by Client |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
500 |
Internal LayerX Error |
501 |
Not Implemented |
503 |
Service Unavailable |