CreateApiKeyRequest
CreateApiKeyRequest documentation for Python SDK
Request parameters for creating a new API key.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| labels | Dict[str, str] | Key-value pairs of metadata associated with the API key. Used for organization and filtering. | [optional] |
| expires_at | int | Expiration timestamp in milliseconds since epoch. If not provided, the key does not expire. | [optional] |
Example
from goodmem_client.models.create_api_key_request import CreateApiKeyRequest
# TODO update the JSON string below
json = "{}"
# create an instance of CreateApiKeyRequest from a JSON string
create_api_key_request_instance = CreateApiKeyRequest.from_json(json)
# print the JSON string representation of the object
print(CreateApiKeyRequest.to_json())
# convert the object into a dict
create_api_key_request_dict = create_api_key_request_instance.to_dict()
# create an instance of CreateApiKeyRequest from a dict
create_api_key_request_from_dict = CreateApiKeyRequest.from_dict(create_api_key_request_dict)↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK