Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter Name

Field Type

Description

Default Value

Example

Setting Tab

Label*

String

Required. The name for the API policy.

Outbound OAuth2

Outbound RESTOAuth2.0 Policy

When this policy should be applied

String/Expression

An expression enabled field that determines the condition to be fulfilled for the API policy to execute.

For example, if the value in this field is request.method == "POST", the API policy is executed only if the request method is a POST.

N/A

request.method == “POST”

Token Location*

Dropdown List

Select the Token location as Header/Body/Query

Header

Header

Header

Authorization Scheme*

Dropdown List

Select Bearer/Custom Authorization Scheme if you have selected the Header option from the dropdown list.

Info

For Custom Authorization Scheme spaces, include in the token key.

Bearer

Bearer

Custom Authorization Scheme

String

Add your Custom Authorization Scheme here.

N/A

Body

Request Body Key

String

Enter JSON key with the value of the token.

N/A

N/A

Query

Query String Parameter Name

String

Name the Query String Parameter.

N/A

N/A

Status

Dropdown List

Specifies whether the API policy is enabled or disabled. 

Enabled

Enabled

Account Tab

Account Reference*

Dropdown List

Select a preconfigured OAuth2 account from the dropdown list that is configured in the Global Org >Shared Folder.

N/A

../../shared/OutboundPolicyRestOAuth2