Set a PKI trust store as the default

View as Markdown
POST
/truststores/pki/{trust_store_id}/default

Marks the specified trust store as the default for mTLS authentication. This default is used when no explicit trust store is selected for an mTLS endpoint.

Authorization

API-Key
headerX-API-KEY<token>

MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>

Path Parameters

trust_store_id*string

The unique identifier of the trust store.

Response Body

200

application/json

The trust store was set as the default successfully

TypeScript Definitions

Use the response body type in TypeScript.

PKI Trust Store Response: Represents a trust store configuration used for mTLS authentication.

Errors

401Unauthorized

403Forbidden

curl -X POST "https://your-domain.us.monocloud.com/api/truststores/pki/9qVBxPQiZqtUsBOykavK6/default" \  -H "X-API-KEY: <token>"
{  "id": "string",  "name": "string",  "enabled": true,  "is_default": true,  "show_in_discovery_document": true,  "options": {    "validate_certificate_use": true,    "validate_validity_period": true,    "revocation_mode": "offline",    "revocation_check_depth": "end_certificate_only",    "revocation_check_clock_skew": 0,    "ocsp_check_timeout": 0,    "online_crl_check_timeout": 0,    "certificate_auth_cache_duration": 0,    "ocsp_cache_duration": 0,    "online_crl_cache_duration": 0  },  "creation_time": 0,  "last_updated": 0,  "cert_chain": "string"}
© 2026 MonoCloud. All rights reserved.