Bloquer un sous-compte
GET
/account/:id/lock
Paramètres de requête
id
requis
|
L'id du sous-compte |
Exemples
GET /account/12123/lock HTTP/1.1
Host: api.smsup.ch
Accept: application/json
Authorization: Bearer your.token
Format de la réponse
{
"status": 1,
"message": "OK",
"state": "locked"
}
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>1</status>
<message>OK</message>
<state>locked</state>
</response>