Path parameters
idstringrequired
The ID of the Cassette to duplicate.
Body parameters
namestringrequired
The name of the Cassette.
handlearrayrequired
The unique handle for the Cassette.
Response
idstring
The unique identifier for this Cassette.
objectstring
This will always contain cassette
for this endpoint.
handlestring
The unique handle of the Cassette. The handle is only unique to every Cassette within a project.
namestring
The Cassette name.
projectstring | object
The ID of the project this Cassette belongs to.
parentstring | object | null
The parent Cassette, if this Cassette is duplicated.
created_attimestamp
The Cassette's created at timestamp.
updated_attimestamp
The Cassette's updated at timestamp.
import Blutui from 'blutui'
const blutui = new Blutui('ey....')
blutui.agency('studio').cassettes.duplicate('9d759f5a-7a1f-443e-a466-6471da1d367b', {
name: 'Default',
handle: 'default',
})
Response
{
"id": "9d759f5a-7a1f-443e-a466-6471da1d367b",
"object": "cassette",
"handle": "default",
"name": "Default",
"project": "9c17d63b-96c0-4315-b4dd-e55373ce4ffd",
"parent": null,
"created_at": 1711305486,
"updated_at": 1711305486
}