UpdateKeyRequest
¶
Source code in docs_src/capo_location/types/update_key_request.py
description
instance-attribute
¶
description: NotRequired[ResourceDescription]
Updates the description for the API key resource.
expire_time
instance-attribute
¶
expire_time: NotRequired[Timestamp]
Updates the timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
force_update
instance-attribute
¶
force_update: NotRequired[bool]
The boolean flag to be included for updating ExpireTime or Restrictions details.
Must be set to true to update an API key resource that has been used in the past 7 days.
False if force update is not preferred
Default value: False
no_expiry
instance-attribute
¶
no_expiry: NotRequired[bool]
Whether the API key should expire. Set to true to set the API key to have no expiration time.
restrictions
instance-attribute
¶
restrictions: NotRequired[ApiKeyRestrictions]
Updates the API key restrictions for the API key resource.