PostponeInactivityAction

Postpone the environment’s suspend time. Environments are suspended if inactive; when this request is made, the inactivity period that will cause suspension is lengthened by 180 minutes.


Request URL

GET https://use.cloudshare.com/API/v2/Env/PostponeInactivityAction?envId=<env>&UserApiId=<id>&token=<token>&timestamp=<time>&HMAC=<signature>

Parameters

envId Id of the environment.

Response example

{
    "data": {
    "is_success": true,
    "message": "180"
     }, 
    "remaining_api_calls": 100000, 
    "status_additional_data": null, 
    "status_code": "0x20000", 
    "status_text": "Success"
}

Response codes

is_success Indicates whether the inactivity period was lengthened.
Values: True/False
message The amount by which the inactivity period was lengthened (if successful). This is normally 180 minutes.