Suspend
Call description
Use the suspend call to suspend a company and all licenses associated with the company. Products activated by these licenses are deactivated.
•This API call requires authorization; the user has to be logged in.
•Request URL: https://mspapi.eset.com/api/Company/Suspend
•This request is a POST call type.
Requirements
•You can suspend only a company which is your direct child.
•Only an active company can be suspended.
•You need to have "Write" permissions over the company.
Call structure
{
"companyId": "string"
}
Call parameters
Parameter |
Description |
---|---|
companyId |
companyId is a unique identifier of a company. To get the companyId of the logged in user, use /api/User/Current call. |
Response structure
The response contains data in the JSON format.
The response contains an ID for the operation. You can use it to check for the status of the operation.
Troubleshooting
ESET MSP Administrator 2 API uses standardized error codes. If you are getting errors or unexpected responses, see the Troubleshooting API for common problems and the list of error codes.