Access Management API
Authentication Examples
The following examples show you how to authenticate the Access Management API.
Create a Client
The following examples shows how to authenticate against the Identity and Access Manager API:
Basic HTTP Authentication
So authenticate, send a POST to /login
, with a JSON object containing a username and password:
The API also supports form data by sending the following header:
Content-Type:application/x-www-form-urlencoded
After obtaining your access_token, use it to call the Anypoint Access Management API. In the following example, we send a GET request to /api/profile with the access_token in an Authorization header: