Create Preauthorization

Create a preauthorization to allow a user to access an Advanced Server Access project. When a project has pre-authorizations enabled, users can only access servers in a project if a valid, unexpired pre-authorization exists for their user within the project.

Input

Field Definition Type Required

Disabled

This value indicates whether the pre-authorization is enabled when created.

Pre-authorizations that are in the Disabled state can later be enabled with the Update Pre-authorization action card.

True/False

TRUE

Expires At

The date and time when the preauthorization expires.

Date & Time

TRUE

User Name

Advanced Server Access username of the user to whom the preauthorization applies.

Text

TRUE

Project Name

Advanced Server Access project for which the preauthorization is created.

Text

TRUE

Output

Field Definition Type

Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Expires At

The date and time when the preauthorization expires.

Date & Time

Username

Advanced Server Access username of the user to whom the preauthorization applies.

Text

Preauthorization ID

Identifier for the preauthorization.

This value can be used in other action cards or in calls to other APIs.

Text

Related topics

Advanced Server Access connector

Workflow elements

Advanced Server Access API documentation