You can make a get call to list out the what all day 2 actions you can perform
get /deployment/api/deployments/{deploymentId}/actions
It will also provide what parameter you are expected to pass on
later you can make post call to
/deployment/api/deployments/{deploymentId}/requests
{ "actionId": "string", "reason": "string", "inputs": {}}
Mark this thread as resolved , if your query is answered