authentication

The authentication endpoint enables you to retrieve the JWT access token and the expiration time.

HTTP Method

GET

Request URI

https://<hostname>/api/patch/content/v1/authentication

Header Parameters

Unless stated, these parameters are mandatory.

Name Type Description

Authorization

Bearer

Contains Ivanti Neurons JWT bearer token issued by login app.

X-ClientScope

String

The scope (assigned role) of the authentication request. If left empty, default read-only permissions are applied. (Optional)

X-ClientSecret

String

The client secret used during app registration.

X-TenantId

String

The registered tenant ID.

X-ClientId

String

The requesting client ID.

Example Response

Copy
{
  "access_token": "string",
  "expires_in": 0,
  "scope": "string",
  "token_type": "string"
}

Output Data Properties

The following set of data items represent an authentication result that will be returned as part of a successful authentication_get response.

Name

Type

Format

Description
access_token String   The JWT access token.
expires_in Integer Int32 The expiration time, in seconds.

scope

String

 

The assigned scope (role) of the authentication token.

token_type String   The type of token. The default is Bearer.