Ban a SVID

View as Markdown
POST
/truststores/spiffe/{trust_store_id}/banned_svids

Creates a banned SVID entry in the specified SPIFFE trust store, preventing SVIDs matching the provided identifier from being trusted during authentication.

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.

Request Body

application/json

The request payload used to ban a SVID.

TypeScript Definitions

Use the request body type in TypeScript.

Ban Trust Store SVID Request: Defines a SPIFFE SVID that is blocked from authentication within a trust store.

Response Body

200

application/json

The SVID was banned successfully

TypeScript Definitions

Use the response body type in TypeScript.

Banned SVID Response: Represents a SVID that has been explicitly banned within a trust store.

Errors

401Unauthorized

403Forbidden

curl -X POST "https://your-domain.us.monocloud.com/api/truststores/spiffe/9qVBxPQiZqtUsBOykavK6/banned_svids" \  -H "X-API-KEY: <token>" \  -H "Content-Type: application/json" \  -d '{    "value": "string"  }'
{  "id": "string",  "value": "string",  "reason": null,  "creation_time": 0}
© 2026 MonoCloud. All rights reserved.