Ban a SVID
Creates a banned SVID entry in the specified SPIFFE trust store, preventing SVIDs matching the provided identifier from being trusted during authentication.
API-KeyX-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>
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
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
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}