Duplicate Deck
POST/organizations/:organizationId/decks/:deckId/duplicate
Duplicate an existing deck with all its widgets, preserving deckType and timeRange
Request
Path Parameters
organizationId stringrequired
The ID of organization.
deckId stringrequired
The ID of deck to duplicate.
- application/json
Body
required
title string
Optional new title for the duplicated deck.
Responses
- 200
- 401
- 403
- 422
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
data objectrequired
Data of the duplicated deck.
id stringrequired
organizationId stringrequired
title stringrequired
description stringrequired
weight stringrequired
widgets object[]required
deckType stringrequired
timeRange object
autoRefreshInterval numberrequired
createdAtDateString stringrequired
createdAt numberrequired
{
"data": {
"id": "string",
"organizationId": "string",
"title": "string",
"description": "string",
"weight": "string",
"widgets": [
{}
],
"deckType": "string",
"timeRange": {},
"autoRefreshInterval": 0,
"createdAtDateString": "string",
"createdAt": 0
}
}
{
"data": {
"id": "d-xyz123",
"organizationId": "o-abc456",
"title": "My Deck (Copy)",
"description": "IDT-Deck-Description",
"weight": "1",
"deckType": "monitor",
"widgets": [],
"autoRefreshInterval": 0,
"createdAtDateString": "2024-01-01T00:00:00.000Z",
"createdAt": 1704067200000
}
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The input data has invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The input data has invalid.
message stringrequired
The input data has invalid message.
{
"error": "string",
"message": "string"
}
{
"error": "ValidationError",
"message": "Input data validation failed."
}
Loading...
Was this page helpful?