---
title: The Authentication REST API
description: The Authentication API helps to enable and disable ASE sideband authentication. You can also retrieve the authentication status.
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_reference_guide:pingintelligence_authentication_rest_api
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_reference_guide/pingintelligence_authentication_rest_api.html
revdate: April 3, 2024
section_ids:
  enable-or-disable-sideband-authentication: Enable or disable sideband authentication
  get-authentication-status: Get authentication status
---

# The Authentication REST API

The `Authentication` API helps to enable and disable ASE sideband authentication. You can also retrieve the authentication status.

## Enable or disable sideband authentication

|                 |                                                               |                                    |
| --------------- | ------------------------------------------------------------- | ---------------------------------- |
| URL             | `/v5/ase/sideband/authentication?status=<value>`              |                                    |
| Method          | POST                                                          |                                    |
| Query Parameter | `status`                                                      | Valid values:*enable* or *disable* |
| Request Headers | ```
x-ase-access-key:  <value>
x-ase-secret-key:  <value>
``` |                                    |

The following is a sample curl command:

```shell
curl --location --request POST '<ASE IP Address>:<port no>/v5/ase/sideband/authentication?status=enable
' \
--header 'x-ase-access-key: ase_ak' \
--header 'x-ase-secret-key: ase_sk'
```

The following are sample responses:

```json
{
    "status": "disabled",
    "status_message": "Sideband authentication is disabled"
}
```

```json
{
    "status": "enabled",
    "status_message": "Sideband authentication is enabled"
}
```

## Get authentication status

|                 |                                                               |
| --------------- | ------------------------------------------------------------- |
| URL             | ```
/v5/ase/sideband/authentication
```                       |
| Method          | GET                                                           |
| Request Headers | ```
x-ase-access-key:  <value>
x-ase-secret-key:  <value>
``` |

The following is a sample curl command:

```shell
curl --location --request POST '<ASE IP Address>:<port no>/v5/ase/sideband/authentication' \
--header 'x-ase-access-key: ase_ak' \
--header 'x-ase-secret-key: ase_sk'
```

The following are sample responses:

```json
{
"status": "disabled",
"status_message": "Sideband authentication is disabled"
}
```

```json
{
"status": "enabled",
"status_message": "Sideband authentication is enabled"
}
```
