UpdateApiKeyRequest
UpdateApiKeyRequest documentation for Python SDK
Request parameters for updating an API key.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| validate_label_strategy | object | [optional] | |
| status | str | New status for the API key. Allowed values: ACTIVE, INACTIVE. | [optional] |
| replace_labels | Dict[str, str] | Replace all existing labels with this set. Mutually exclusive with mergeLabels. | [optional] |
| merge_labels | Dict[str, str] | Merge these labels with existing ones. Mutually exclusive with replaceLabels. | [optional] |
Example
from goodmem_client.models.update_api_key_request import UpdateApiKeyRequest
# TODO update the JSON string below
json = "{}"
# create an instance of UpdateApiKeyRequest from a JSON string
update_api_key_request_instance = UpdateApiKeyRequest.from_json(json)
# print the JSON string representation of the object
print(UpdateApiKeyRequest.to_json())
# convert the object into a dict
update_api_key_request_dict = update_api_key_request_instance.to_dict()
# create an instance of UpdateApiKeyRequest from a dict
update_api_key_request_from_dict = UpdateApiKeyRequest.from_dict(update_api_key_request_dict)↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK