Stytch · Schema
api_m2m_v1_M2MClientWithNextClientSecret
AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper Tools
Properties
| Name | Type | Description |
|---|---|---|
| client_id | string | The ID of the client. |
| next_client_secret | string | The newly created secret that's next in rotation for the client. **Important:** this is the only time you will be able to view the `next_client_secret`. Be sure to persist the `next_client_secret` in |
| client_name | string | A human-readable name for the client. |
| client_description | string | A human-readable description for the client. |
| status | string | The status of the client - either `active` or `inactive`. |
| scopes | array | An array of scopes assigned to the client. |
| client_secret_last_four | string | The last four characters of the client secret. |
| trusted_metadata | object | An arbitrary JSON object for storing application-specific data. |
| next_client_secret_last_four | string | The last four characters of the `next_client_secret`. Null if no `next_client_secret` exists. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/api_m2m_v1_M2MClientWithNextClientSecret",
"title": "api_m2m_v1_M2MClientWithNextClientSecret",
"type": "object",
"properties": {
"client_id": {
"type": "string",
"description": "The ID of the client."
},
"next_client_secret": {
"type": "string",
"description": "The newly created secret that's next in rotation for the client. **Important:** this is the only time you will be able to view the `next_client_secret`. Be sure to persist the `next_client_secret` in a secure location. If the `next_client_secret` is lost, you will need to trigger a secret rotation flow to receive another one."
},
"client_name": {
"type": "string",
"description": "A human-readable name for the client."
},
"client_description": {
"type": "string",
"description": "A human-readable description for the client."
},
"status": {
"type": "string",
"description": "The status of the client - either `active` or `inactive`."
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of scopes assigned to the client."
},
"client_secret_last_four": {
"type": "string",
"description": "The last four characters of the client secret."
},
"trusted_metadata": {
"type": "object",
"additionalProperties": true,
"description": "An arbitrary JSON object for storing application-specific data."
},
"next_client_secret_last_four": {
"type": "string",
"description": "The last four characters of the `next_client_secret`. Null if no `next_client_secret` exists."
}
},
"required": [
"client_id",
"next_client_secret",
"client_name",
"client_description",
"status",
"scopes",
"client_secret_last_four"
]
}