Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.58 KB

ManagementKey.md

File metadata and controls

33 lines (26 loc) · 1.58 KB

TalonOne::ManagementKey

Properties

Name Type Description Notes
name String Name for management key.
expiry_date DateTime The date the management key expires.
endpoints Array<Endpoint> The list of endpoints that can be accessed with the key
allowed_application_ids Array<Integer> A list of Application IDs that you can access with the management key. An empty or missing list means the management key can be used for all Applications in the account. [optional]
id Integer ID of the management key.
created_by Integer ID of the user who created it.
account_id Integer ID of account the key is used for.
created DateTime The date the management key was created.
disabled Boolean The management key is disabled (this property is set to `true`) when the user who created the key is disabled or deleted. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::ManagementKey.new(name: My generated key,
                                 expiry_date: 2023-08-24T14:00Z,
                                 endpoints: null,
                                 allowed_application_ids: [1, 2, 3],
                                 id: 34,
                                 created_by: 280,
                                 account_id: 13,
                                 created: 2022-03-02T16:46:17.758585Z,
                                 disabled: true)