POST /user/tokens

Create a new access token.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
expires_on String No

The expiration time on or after which the JWT MUST NOT be accepted for processing.

name String Yes

Token name.

condition Object No
condition.request_ip Object No

Client IP restrictions.

condition.request_ip.not_in[] Array No

List of IPv4/IPv6 CIDR addresses.

condition.request_ip.in[] Array No

List of IPv4/IPv6 CIDR addresses.

not_before String No

The time before which the token MUST NOT be accepted for processing.

policies[] Array Yes

List of access policies assigned to the token.

policies[].effect String Yes

Allow or deny operations against the resources.

Possible values:

  • "deny"
  • "allow"
policies[].id String Yes

Policy identifier.

policies[].resources Object Yes

A list of resource names that the policy applies to.

policies[].permission_groups[] Array Yes

A set of permission groups that are specified to the policy.

policies[].permission_groups[].id String Yes

Identifier of the group.

policies[].permission_groups[].name String No

Name of the group.

policies[].permission_groups[].meta Object No

Attributes associated to the permission group.

policies[].permission_groups[].meta.key String No
policies[].permission_groups[].meta.value String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.