Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.25 KB

File metadata and controls

35 lines (26 loc) · 1.25 KB

CreateApiKeyResponse

Response after creating an API key. Contains the full key (shown once).

Properties

Name Type Description Notes
id UUID
name str
key str The raw API key, returned only at creation. Send it as `Authorization: Bearer <key>`.
key_suffix str
created_at datetime
expires_at datetime

Example

from ksapi.models.create_api_key_response import CreateApiKeyResponse

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

# convert the object into a dict
create_api_key_response_dict = create_api_key_response_instance.to_dict()
# create an instance of CreateApiKeyResponse from a dict
create_api_key_response_from_dict = CreateApiKeyResponse.from_dict(create_api_key_response_dict)

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