GoodMem
ReferenceClient SDKsPython SDKRequests

UpdateApiKeyRequest

UpdateApiKeyRequest documentation for Python SDK

Request parameters for updating an API key.

Properties

NameTypeDescriptionNotes
validate_label_strategyobject[optional]
statusstrNew status for the API key. Allowed values: ACTIVE, INACTIVE.[optional]
replace_labelsDict[str, str]Replace all existing labels with this set. Mutually exclusive with mergeLabels.[optional]
merge_labelsDict[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

On this page