Full update of an API key rule.
Full update of an API key rule.
Request body
When enabled, API's keys that violate the organization's policy will be replaced automatically.
Whether this policy is currently active and enforced.
The maximum permitted age of an API key for use in the organization. API keys older than this will no longer have access until they are refreshed. To disable the policy unset this value.
If set to True, API keys that violate this rule will be replaced immediately after the request is made. There is no way to undo this.
Specify which account types this rule applies to: all accounts (deprecated — prefer separate service/user rules), service accounts only, or user accounts only.
Response
OK
When enabled, API's keys that violate the organization's policy will be replaced automatically.
Whether this policy is currently active and enforced.
The last time this policy was evaluated and applied by the expiry task.
The maximum permitted age of an API key for use in the organization. API keys older than this will no longer have access until they are refreshed. To disable the policy unset this value.
Specify which account types this rule applies to: all accounts (deprecated — prefer separate service/user rules), service accounts only, or user accounts only.
Human-readable identifier for the policy type. Automatically generated based on policy_type.
An auto-generated id that uniquely identifies the API key policy.
Changes
Changed in 1 of the 2 revisions of this API.○1
- ○
endpoint added
endpoint-added
- ○