API v2: User Mobile Access (Fudo Officer) πŸ†•ΒΆ

Get the User Mobile Access StatusΒΆ

This endpoint returns information about the availability of mobile access for the specified user.

Note

If the Call Home feature is disabled, mobile access is not supported and application binding and unbinding operations are unavailable (is_supported, can_bind, can_unbind set to false). If the Call Home feature is enabled, mobile access is supported and both binding and unbinding operations are available (true for all fields).

Request

Method

GET

Path

/api/v2/user/<user_id>/mobile/access

Headers

Content-Type: Application/json

GET /api/v2/user/<user_id>/mobile/access

Example Request

curl -s -k -X GET \
  -H 'Authorization: sgfeea6jsaz4mum9su8w6' \
  'https://10.0.214.98/api/v2/user/1224979098644774913/mobile/access'

Response

{
    "result": "success",
    "mobile_access": {
        "is_supported": true,
        "can_bind": true,
        "can_unbind": true
    }
}

Delete User Mobile Access BindingΒΆ

This endpoint removes (unbinds) the mobile access binding for the specified user.

Request

Method

DELETE

Path

/api/v2/user/<user_id>/mobile/access

Headers

Content-Type: Application/json

DELETE /api/v2/user/<user_id>/mobile/access

Example Request

curl -s -k -X DELETE \
  -H 'Authorization: sgfeea6jsaz4mum9su8w6' \
  'https://10.0.214.98/api/v2/user/1224979098644774913/mobile/access'

Response

{
    "result": "success"
}