API token login
Last updated
In this manual, you will find detailed information on preparing information, creating a Token on the vCD portal, and creating a Bearer token.
Step 2: Create Token on vCD portal
Login IAM portal -> vCD portal -> User preferences

API tokens -> New

Copy token ({{api-token-generated}})

POST https://{{vcd_url}}/oauth/tenant/{{tenant_name}}/token
Authorization: No Auth
Headers:
- 'Accept: application/json'
- 'Content-Type: application/x-www-form-urlencoded'
Body:
raw: 'grant_type=refresh_token&refresh_token={{api-token-generated}}'

SEND request.
Response body: "access_token" (Bearer token)
Last updated

