[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator

Access Token

Description

Takes a refresh token as input and returns a new access token as the output

Request

Request

URL

URL


post
https://{api_host}/v1/authn/accesstoken
Copy

Request Body

Request Body

InputRefreshToken of mimetype application/json Optional
{
    "InputRefreshToken": {
        "refreshToken": "..."
    },
    "refreshToken": "..."
}
string
passcode Optional

The multi-factor authentication passcode from the registered multi-factor authentication (MFA) device.


string
refreshToken Optional

The value of the refresh token.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns AuthenticationTokens of type application/json
{
	"accessToken": "...",
	"idToken": "...",
	"refreshToken": "...",
	"returnUrl": "..."
}
string
accessToken Optional

The access token. This is a JWT token that grants access to resources.


string
idToken Optional

The ID Token is a signed JWT token returned from the authorization server and contains the user’s profile information, including the domain of the identity provider. This domain is used to obtain the identity provider URL. This token is used for optimization so the application can know the identity of the user, without having to make any additional network requests. This token can be generated via the Authorization Code flow only.


string
refreshToken Optional

The value of the Refresh token.


string
returnUrl Optional

The return URL.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"InputRefreshToken":{"refreshToken":"..."},"refreshToken":"..."}' https://{api_host}/v1/authn/accesstoken
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: body


[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator
Feedback

Was this page helpful?