POST
/
{workspaceId}
/
projects
/
{projectName}
/
auth-sessions
/
create
/
{operationId}
/
resume
import { IntunedClient } from "@intuned/client";

const intunedClient = new IntunedClient({
  apiKey: "<YOUR_API_KEY_HERE>",
  workspaceId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
});

async function run() {
  const result = await intunedClient.project.authSessions.create.resume("my-project", "aaaabbbCCCCdddd", {
    input: "123456",
    infoRequestId: "99999999-9999-9999-9999-999999999999",
  });
  
  // Handle the result
  console.log(result)
}

run();
{
  "status": "resumed"
}

Authorizations

x-api-key
string
header
required

API Key used to authenticate your requests. How to create one.

Path Parameters

workspaceId
string
required

Your workspace ID. How to find it?

projectName
string
required

Your project name. It is the name you provide when creating a project.

operationId
string
required

The ID for the requested auth session creation operation. This is obtained from the start request.

Body

application/json
resume authentication session creation request

Auth session creation resume request.

info_request_id
string
required

The ID of the request info action.

input
string
required

The input to the resume operation.

Response

202
application/json
Successfully started creation
status
enum<string>
required
Available options:
resumed