mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Update API Key cURL to reflect correct URL (#18376)
This commit is contained in:
parent
27832b0ade
commit
dca907aca0
@ -19,7 +19,7 @@ If you want to add your devices manually (like in the example below) then you ne
|
|||||||
```bash
|
```bash
|
||||||
$ curl -X POST -H "Content-Type: application/json" \
|
$ curl -X POST -H "Content-Type: application/json" \
|
||||||
-d '{"email": "fakename@example.com", "password": "password"}' \
|
-d '{"email": "fakename@example.com", "password": "password"}' \
|
||||||
https://admin.avi-on.com/api/sessions | jq
|
https://api.avi-on.com/sessions | jq
|
||||||
```
|
```
|
||||||
|
|
||||||
with the email and password fields replaced with those used when registering the device via the mobile app. The pass phrase field of the output should be used as the API key in the configuration.
|
with the email and password fields replaced with those used when registering the device via the mobile app. The pass phrase field of the output should be used as the API key in the configuration.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user