Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.59 KB

File metadata and controls

35 lines (26 loc) · 1.59 KB

APIKeyCreateRequest

Payload for creating a new API key.

Properties

Name Type Description Notes
name str Human-friendly key label shown in dashboards.
description str Optional description explaining the key's purpose. [optional]
permissions List[Permission] Set of permissions granted to the API key (least privilege). [optional]
scopes List[ResourceScopeInput] Optional resource scope restrictions applied to the key. [optional]
rate_limit_override int Per-key requests-per-minute override (defaults to plan limit when absent). [optional]
expires_at datetime Optional UTC timestamp when the key automatically expires. [optional]

Example

from mixpeek.models.api_key_create_request import APIKeyCreateRequest

# TODO update the JSON string below
json = "{}"
# create an instance of APIKeyCreateRequest from a JSON string
api_key_create_request_instance = APIKeyCreateRequest.from_json(json)
# print the JSON string representation of the object
print(APIKeyCreateRequest.to_json())

# convert the object into a dict
api_key_create_request_dict = api_key_create_request_instance.to_dict()
# create an instance of APIKeyCreateRequest from a dict
api_key_create_request_from_dict = APIKeyCreateRequest.from_dict(api_key_create_request_dict)

[Back to Model list] [Back to API list] [Back to README]