Get OAuth2 Access Token
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | uuid | The secret ID (must be an OAuth2-type secret) |
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
environment | string | Base environment | Target a specific environment |
Response
Errors
| Status | Type | Description |
|---|---|---|
| 400 | invalid_type | Secret is not an OAuth2 type |
| 404 | not_found | Secret not found |
| 500 | token_error | Failed to retrieve or refresh the OAuth2 token |