Skip to main content

api_users_policy_partial_update

PATCH 

/api-users/policy/

Call auditlog tasks if applicable to query.

Request

Body

    max_api_key_duration_days int64

    Possible values: <= 4294967295

    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_duration boolean

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

    disable_keys_on_user_disabled boolean

    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.

Responses

Schema

    max_api_key_duration_days int64

    Possible values: <= 4294967295

    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_duration boolean

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

    disable_keys_on_user_disabled boolean

    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.

Loading...