Bulk unlink files from a board
Unlink up to 50 files from a board in a single call — the bulk form of Unlink a file from a board. Each file is processed on its own: the response lists the files that were unlinked and, under failed, why each of the rest was not. The board itself must exist in the header workspace, or the whole call returns 404.
Authentication
authentication Create an API key from the Adnova dashboard (Account integrations). Pass the key value in the api-key request header on every call.
In: header
Header Parameters
Workspace the request operates in. Get it from List workspaces.
1 <= lengthOrganization context (required on every endpoint).
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.adnova.ai/creative-hub/v1/files/bulk/unlink" \ -H "x-workspace-id: 01J8ZQ9X2K3M4N5P6R7S8T9V0W" \ -H "x-org-id: 01J8ZQ7B3C4D5F6G7H8K9M0N1P" \ -H "Content-Type: application/json" \ -d '{ "fileIds": [ "01J8ZF9K8M7N6P5R4S3T2V1W0X", "01J8ZG0L9N8P7Q6R5S4T3V2W1Y" ], "boardId": "01J8ZB1C2D3E4F5G6H7J8K9M0N" }'{
"boardId": "01J8ZB1C2D3E4F5G6H7J8K9M0N",
"unlinked": [
"01J8ZF9K8M7N6P5R4S3T2V1W0X"
],
"failed": [
{
"fileId": "01J8ZG0L9N8P7Q6R5S4T3V2W1Y",
"error": "File not found!"
}
]
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}