Mobile apps#
List of mobile apps#
Method
GET https://login.company.com/blitz/api/v3/users/{subjectId}/apps
Getting a list of linked mobile apps.
Required permissions: blitz_api_uapps
or blitz_api_sys_uapps
.
Returns
JSON, containing a list of linked mobile apps.
Example
GET /blitz/api/v3/users/d2580c98‑e584‑4aad‑a591‑97a8cf45cd2a/apps HTTP/1.1
Authorization: Bearer cNwIXatB0wk5ZHO0xG5kxuuLubesWcb_yPPqLOFWDuwzMDc0Nz
Cache-Control: no-cache
[
{
"id": "dyn~test_app~afae0cab-2649-482d-9832-5f73816afb59",
"name": {
"_default_": "Тестовое приложение (test_app)"
},
"availableScopes": [
"openid",
"profile"
],
"softwareId": "test_app"
}
]
Unlinking from a mobile app account#
DELETE https://login.company.com/blitz/api/v3/users/{subjectId}/apps/{app_id}
Revocation of the issued permission.
Required permissions: blitz_api_uapps_chg
or blitz_api_sys_uapps_chg
.
URL parameters
The received identifier (id
) of the application linking is passed as the app_id
.
Headers
In user mode, headers with the user’s IP address and User-Agent
must be passed.
Example
DELETE /blitz/api/v3/users/d2580c98-e584-4aad-a591-97a8cf45cd2a/apps/d2580c98-e584-4aad-a591-97a8cf45cd2a_app1 HTTP/1.1
Authorization: Bearer cNwIXatB0wk5ZHO0xG5kxuuLubesWcb_yPPqLOFWDuwzMDc0Nz
X-Forwarded-For: 200.200.100.100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5)...