---
title: "Generate Access Token"
method: POST
path: "/as/token.oauth2"
---

# Generate Access Token

`POST /as/token.oauth2`

This endpoint generates an access token for new Central. The provided API client credentials must be for Central application on the HPE GreenLake Platform. The generated token is valid for 2 hours.

## Headers

- `Content-Type` string

## Response `200`

Successful response

- object
  - `access_token` string — The token you can use to make API calls to new Central
  - `token_type` string — Indicates the type of token issued
  - `expires_in` integer — The duration (in seconds) for which the token is valid

---

[API](https://skmtc.net/arubanetworks/apis/authorization.md) · [All operations](https://skmtc.net/arubanetworks/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arubanetworks/authorization/versions/74c95058b11f/schema)
