jwks_setup

Endpoint URL

/api/v2/jwks_setup

HTTP Method

POST

Description

Triggers update of the JWKS used by the Data API. Once the JWKS is updated and validated, the Data API will use the corresponding jwks_endpoint to authenticate requests to the API.

Request Headers

Header

Description

Authorization

Specifies the authentication information of the user agent. For more information, see Data API Authentication.

Request Body

The POST /api/v2/jwks_setup request does not require a request body.

Response

For successful requests, the response will be an empty message body along with the HTTP status code 200 OK.

On request failure, an HTTP status code corresponding to the error will be returned. See Data API Error Handling for more information.

Example (Shell)

Here's a sample cURL command that triggers the JWKS update using the /api/v2/jwks_setup endpoint:

curl -X POST -u "admin:YourPassword" https://svc-10444e3f-afeb-46be-b186-a8c6b499f726-dml.aws-ireland-1.svc.singlestore.com/api/v2/jwks_setup

Last modified: May 5, 2023

Was this article helpful?