Console APICassettes
Update Cassette
PATCHapi.blutui.com/v1/agencies/{username}/cassettes/{id}
Update a Cassette for a project your agency.
Path parameters
idstringrequired
The ID of the Cassette to update.
Body parameters
namestringrequired
The name of the Cassette.
Response
import Blutui from 'blutui'
const blutui = new Blutui('ey....')
blutui.agency('studio').cassettes.update('9d759f5a-7a1f-443e-a466-6471da1d367b', {
name: 'Development'
}){
"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
}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.
Last updated on