Name | Type | Description | Notes |
---|---|---|---|
ClientName | String | [optional] [readonly] | |
Created | System.DateTime | [optional] [readonly] | |
ExpiresAt | System.DateTime | [optional] [readonly] | |
Id | String | [optional] [readonly] | |
LastUpdated | System.DateTime | [optional] [readonly] | |
Name | String | ||
TokenWindow | String | A time duration specified as an ISO-8601 duration. | [optional] |
UserId | String | [optional] | |
Link | ApiTokenLink | [optional] |
- Prepare the resource
$ApiToken = Initialize-Okta.PowerShellApiToken -ClientName null `
-Created null `
-ExpiresAt null `
-Id null `
-LastUpdated null `
-Name null `
-TokenWindow null `
-UserId null `
-Link null
- Convert the resource to JSON
$ApiToken | ConvertTo-JSON