SenseCrypt Docs
API ReferenceAdmin Oidc Apps

Rotate Secret

POST/v1/admin/oidc-apps/{client_id}/rotate-secret

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

client_id*Client Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/admin/oidc-apps/string/rotate-secret" \  -H "Content-Type: application/json" \  -d '{}'
{  "client_id": "string",  "client_secret": "string",  "previous_secret_expires_at": "2019-08-24T14:15:22Z"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}