ym88659208ym87991671
Notification of account unlink (post unlink) | Documentation SmartMarket
Skip to main content

Notification of account unlink (post unlink)

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:

  1. 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.
  2. 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

The vendor sends a response to the Sber Smart Home endpoint. For the headers, see Query headers.

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": []
}