Hi, this may be intended but accessing certain Tape API endpoints via an automation script block insists on an API key which is contradictory to:
This seems to happen with both:
tape.Organization
tape.Workspace
I am unsure if there are any others, I haven’t come across any below this level, so I wonder if it is intended. I have not found a way to pass the API key in a way that it will accept (if there is a way can someone let me know please), you can make an HTTP call to the endpoint which works as expected:
const response = await http.post('https://api.tapeapp.com/v1/workspace',
{
headers: {
"Authorization": `${api}`,
"Content-Type": "application/json"
},
data: {
"name": `${client_field_name_value}`,
"type": "private",
"description": "test site"
}
});
however, this seems a little wasteful.