You should have registered in our developer portal. Check this link about how to register an Account.
You should request access to the playground, sandbox and production environment using our Support page. Here is the link to support page to request access to our environments.
You should have an App created in your account to get the client id and client secret. Check this link about how to create an App.
2. Get Access Token
Digital Realty uses token-based authentication to allow customers to access our API. The customers application will get a JWT token after successful authentication. The token should be passed as credential when calling any other API. The token tells the API that the bearer of the token has been allowed to access the API.
See below the details to get the Access Token. The grant type = client_credentials is used to obtain an access token outside of the context of a user.
Get Access Token
The method can be used to retrieve an access token used as authorization for the DLR API's