{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipeshub/json-schema/pipeshub-regenerate-oauth-app-secret-response-schema.json",
  "title": "RegenerateOAuthAppSecretResponse",
  "description": "Response body for `POST /oauth-clients/{appId}/regenerate-secret` (`regenerateSecret`).\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pipeshub-oauth-apps-api-openapi.yml#/components/schemas/RegenerateOAuthAppSecretResponse",
  "type": "object",
  "required": [
    "message",
    "clientId",
    "clientSecret"
  ],
  "properties": {
    "message": {
      "type": "string"
    },
    "clientId": {
      "type": "string",
      "description": "OAuth client ID (unchanged)"
    },
    "clientSecret": {
      "type": "string",
      "description": "New client secret (store securely; previous secret is invalidated)"
    }
  }
}