v1

latestOpenAPI 3.0.32026-07-134103031.5 MB
API Users

Update API Key Policy

put/api-users/policy/

Request body

max_api_key_duration_daysinteger

Sets the upper limit (in days) for how long an API key can be valid. This constraint is only active if 'enable_max_api_key_duration' is set to True.

enable_max_api_key_durationboolean

If enabled, the 'max_api_key_duration_days' setting will be enforced, limiting the validity period of created API keys.

disable_keys_on_user_disabledboolean

If enabled, all API keys created directly by a User (or by API users derived from them) will be automatically disabled when that user is disabled or deleted.

Response

max_api_key_duration_daysinteger

Sets the upper limit (in days) for how long an API key can be valid. This constraint is only active if 'enable_max_api_key_duration' is set to True.

enable_max_api_key_durationboolean

If enabled, the 'max_api_key_duration_days' setting will be enforced, limiting the validity period of created API keys.

disable_keys_on_user_disabledboolean

If enabled, all API keys created directly by a User (or by API users derived from them) will be automatically disabled when that user is disabled or deleted.