Unlinking accounts notification (post unlink)
Last updated on September 28, 2022
Sber Smart Home notifies a vendor that a user has unlinked their Sber ID and the vendor's account. Accounts are unlinked regardless of the vendor's response.
Sample case:
- A user in Salute mobile app cancels the link between their Sber ID and their vendor account. Sber Smart Home withdraws the user login - after that, the user will not be able to manage the vendor's devices using Salute mobile app, SberBox, SberPortal or other devices supported with Sber assistants.
- Sber Smart Home informs the vendor about the account unlinking.
Query format
Sber Smart Home sends a query to the vendor's endpoint. For the headers, see Query headers.
POST /v1/unlink
Response format
Success response:
HTTP/1.1 200 OK
When an error occurs, an object of the Common error (common error) type should be returned:
{
"code": integer,
"message": string,
"details": list<string>
}
Sample query and response
Sber Smart Home informs about the account unlinking.
Query:
curl -i -X POST /v1/unlink \
-H Host: example.com \
-H Content-Type: application/json \
-H Authorization: Bearer qwerty-1234-... \
-H X-Request-Id: abcd-0000-ifgh-...
Success response:
HTTP/1.1 200 OK
Error response:
{
"code": 500,
"message": "System error",
"details": []
}