PUT
/
{workspaceId}
/
projects
/
{projectName}
/
queues
/
{queueId}
/
repeatItems
/
{itemId}
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.queues.repeatItems.update("my-project", "my-sample-queue", "22222222-2222-2222-2222-222222222222", {
    apiName: "<value>",
    repeat: "10m",
  });

  // Handle the result
  console.log(result);
}

run();
{
  "message": "repeatable item updated"
}

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.

queueId
string
required

Your queue ID. It is the ID of the queue you provided when creating it.

itemId
string
required

Repeat Item ID

Body

application/json

queue repeatable item

An item that will be repeatably appended to the queue.

Response

200
application/json

Queue repeatable item updated

The response is of type object.