v1

latestOpenAPI 3.1.22026-08-0611530152.3 KB
Trust Store

Update trust store configuration

Update the existing trust store configuration. This is an asynchronous operation that returns a job_id immediately. Track progress using the Jobs API.

The request body varies based on the provider field:

  • http: Fetch certificates from an HTTP/HTTPS URL
  • file: Upload certificates directly

You can switch between providers by including the provider field and the appropriate fields for the new provider type (and setting the old provider's fields to null/omitting them).

Note: Only one operation can run at a time per resource.

put/trust-store-configuration

Request body

OR

Example request

{
  "provider": "http",
  "url": "https://trust-store.example.com/certs",
  "refresh_interval": 60,
  "cacertfile": "-----BEGIN CERTIFICATE-----\nMIIDXTCCAkWgAwIBAgIJAK...\n-----END CERTIFICATE-----"
}

Response

Configuration update initiated

job_idstring uuid

Job ID to track the asynchronous operation

Example response

{
  "job_id": "5c2f59e8-826e-452c-b28d-27ef1f8b32a3"
}