Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.72 KB

ApprovalApiKey.md

File metadata and controls

36 lines (27 loc) · 1.72 KB

ApprovalApiKey

A registered approval API key for an API user.

Properties

Name Type Description Notes
id str The unique key ID, used to delete the key.
name str A human-readable label for the key.
created_at str Creation time as epoch time in seconds.
last_used_at str Last time the key was used to sign, as epoch time in seconds (0 if never used).
approval_api_public_key ApprovalApiPublicKey
user_id str The ID of the API user who owns this key.
status str The state of the key. `APPROVAL_API_KEY_STATUS_PENDING_REGISTRATION` - registered but waiting for approval, cannot sign yet. `APPROVAL_API_KEY_STATUS_ENABLED` - active. `APPROVAL_API_KEY_STATUS_PENDING_DELETION` - removal is waiting for approval, the key stays active until then. `APPROVAL_API_KEY_STATUS_UNSPECIFIED` - unknown.

Example

from fireblocks.models.approval_api_key import ApprovalApiKey

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

# convert the object into a dict
approval_api_key_dict = approval_api_key_instance.to_dict()
# create an instance of ApprovalApiKey from a dict
approval_api_key_from_dict = ApprovalApiKey.from_dict(approval_api_key_dict)

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