Cmdlets for Jira

Build 25.0.9434

APITokenType Parameter (Connect-JIRA Cmdlet)

Specifies the format of the APIToken authentication. Supports Basic (default) and Bearer.

Syntax

Connect-JIRA -APITokenType string

Possible Values

Basic, Bearer

Data Type

cstr

Default Value

"Basic"

Remarks

This property lets you choose how the cmdlet authenticates using your APIToken. You can set it to either Bearer or Basic.

  • If set to Basic (default), both a User and an APIToken are required. The cmdlet uses them to authenticate using the Basic authentication scheme.
  • If set to Bearer, the cmdlet sends the token using the Bearer authentication scheme. If a User is also provided, it is included in the token format automatically.

This property is useful when connecting to services that support multiple token formats, such as the miniOrange REST API Authentication app.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434