Skip to content

Commit

Permalink
Merge pull request #39 from layer5io/theBeginner86/chore/5
Browse files Browse the repository at this point in the history
[API Reference] Docs
  • Loading branch information
leecalcote committed Nov 3, 2023
2 parents 43d9ab8 + 2944321 commit 3bdae85
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions content/en/cloud/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,23 @@ To authenticate with the API, pass the token as a bearer token in the `Authoriza

```bash

curl <protocol>://<Layer5-cloud-hostname>/<API> \
-H "Authorization: Bearer <token>"

```

{{< alert title="Note" >}}

Replace `<protocol>` with `http` or `https` depending on your Layer5 Cloud instance.

Replace `<Layer5-cloud-hostname>` with the hostname or IP address of your hosted Layer5 Cloud instance. For example, [`https://cloud.layer5.io`](https://cloud.layer5.io).

Replace `<API>` with the API endpoint you want to access. For example, `/api/identity/users/profile`.

Replace `<token>` with the security token you generated.

{{< /alert >}}

### API Endpoints

See all the API endpoints in the [API Reference](https://meshery.layer5.io/system/api/docs).
Expand Down

0 comments on commit 3bdae85

Please sign in to comment.