Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.73 KB

NewManagementKey.md

File metadata and controls

35 lines (28 loc) · 1.73 KB

TalonOne::NewManagementKey

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]
key String The management key.

Code Sample

require 'TalonOne'

instance = TalonOne::NewManagementKey.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,
                                 key: f45f90d21dcd9bac965c45e547e9754a3196891d09948e35adbcbedc4e9e4b01)