Skip to content

Commit

Permalink
add account engine response example
Browse files Browse the repository at this point in the history
  • Loading branch information
stepansergeevitch authored and molly-firebolt committed Nov 21, 2023
1 parent 2270c2d commit 0e199f4
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions docs/Guides/query-data/using-the-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,28 +74,7 @@ curl http://api.app.firebolt.io/web/v3/account/<account name>/engineUrl

```json
{
"engineUrl": "https://api.us-east-1.dev.firebolt.io"
}
```

## Get ID of your account

Use the following endpoint to retrieve the ID of your account:

```bash
curl http://api.app.firebolt.io/web/v3/account/<account name>/resolve \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <access token>'
```

**Example:** `https://api.app.firebolt.io/web/v3/account/my_account/resolve`

**Response**

```json
{
"id":"<account_id>",
"region":"us-east-1"
"engineUrl":"https://api.us-east-1.dev.firebolt.io"
}
```

Expand Down

0 comments on commit 0e199f4

Please sign in to comment.