{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/payrix/main/json-schema/payrix-api-keys-put-request-schema.json", "title": "apiKeysPutRequest", "x-generated": "2026-09-21", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/payrix-api-keys-api-openapi.yml#/components/schemas/apiKeysPutRequest", "type": "object", "properties": { "name": { "type": "string", "description": "The name for the key. An apikey may represent a private (secret) key code that is used internally (server-side) by the application authenticating to the API.\n\n A private key should never be exposed to external/untrusted entities and should be immediately deactivated if compromised. All API resources and actions can be accessed/performed with a private apikey." }, "description": { "type": "string", "description": "Description of ApiKeys." }, "token": { "allOf": [ { "$ref": "#/$defs/apikeysToken" }, { "description": "Whether or not an AuthToken is required as part of the authentication when this Apikey is used.\n\n
\nValid Values\n\n- `0` - **The authToken mechanism is disabled.**\n- `1` - **The authToken mechanism is required for 'POST' and 'DELETE' requests.**\n\n
" } ] }, "inactive": { "allOf": [ { "$ref": "#/$defs/inactive" }, { "description": "Whether this resource is marked as inactive.\n\n
\nValid Values\n\n- `0` - **Active**\n- `1` - **Inactive**\n\n
" } ] }, "frozen": { "allOf": [ { "$ref": "#/$defs/frozen" }, { "description": "Whether this resource is marked as frozen.\n\n
\nValid Values\n\n- `0` - **Not Frozen**\n- `1` - **Frozen**\n\n
" } ] } }, "$defs": { "apikeysToken": { "title": "apikeysToken", "enum": [ 0, 1 ], "type": "integer" }, "frozen": { "title": "frozen", "enum": [ 0, 1 ], "type": "integer" }, "inactive": { "title": "inactive", "enum": [ 0, 1 ], "type": "integer" } } }