Cloud
Confluence Cloud / Reference / REST API v2
POST

Create whiteboard

Creates a whiteboard in the space.

Permissions required: Permission to view the corresponding space. Permission to create a whiteboard in the space.

Data Security Policy: Not exempt from app access rules
Scopes
write:whiteboard:confluence

Connect app scope requiredWRITE

Request

Query parameters

private

boolean

Request bodyapplication/json

spaceId

string

Required
title

string

parentId

string

templateKey

string

locale

string

Responses

Returned if the whiteboard was successfully created.

application/json

allOf [WhiteboardSingle, object]

WhiteboardSingle
object
POST/whiteboards
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; var bodyData = `{ "spaceId": "<string>", "title": "<string>", "parentId": "<string>", "templateKey": "2x2-prioritization", "locale": "de-DE" }`; const response = await api.asUser().requestConfluence(route`/wiki/api/v2/whiteboards`, { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: bodyData }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 { "id": "<string>", "type": "<string>", "status": "current", "title": "<string>", "parentId": "<string>", "parentType": "page", "position": 61, "authorId": "<string>", "ownerId": "<string>", "createdAt": "<string>", "version": { "createdAt": "<string>", "message": "<string>", "number": 19, "minorEdit": true, "authorId": "<string>" }, "_links": { "base": "<string>" } }
GET

Get whiteboard by id

Returns a specific whiteboard.

Permissions required: Permission to view the whiteboard and its corresponding space.

Data Security Policy: Not exempt from app access rules
Scopes
read:whiteboard:confluence

Connect app scope requiredREAD

Request

Path parameters

id

integer

Required

Query parameters

include-collaborators

boolean

include-direct-children

boolean

include-operations

boolean

include-properties

boolean

Responses

Returned if the requested whiteboard is returned.

application/json

allOf [WhiteboardSingle, object]

WhiteboardSingle
object
GET/whiteboards/{id}
1 2 3 4 5 6 7 8 9 10 11 12 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestConfluence(route`/wiki/api/v2/whiteboards/{id}`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 { "id": "<string>", "type": "<string>", "status": "current", "title": "<string>", "parentId": "<string>", "parentType": "page", "position": 61, "authorId": "<string>", "ownerId": "<string>", "createdAt": "<string>", "version": { "createdAt": "<string>", "message": "<string>", "number": 19, "minorEdit": true, "authorId": "<string>" }, "_links": { "base": "<string>" } }
DEL

Delete whiteboard

Delete a whiteboard by id.

Deleting a whiteboard moves the whiteboard to the trash, where it can be restored later

Permissions required: Permission to view the whiteboard and its corresponding space. Permission to delete whiteboards in the space.

Data Security Policy: Not exempt from app access rules
Scopes
delete:whiteboard:confluence

Connect app scope requiredDELETE

Request

Path parameters

id

integer

Required

Responses

Returned if the whiteboard was successfully deleted.

DEL/whiteboards/{id}
1 2 3 4 5 6 7 8 9 10 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestConfluence(route`/wiki/api/v2/whiteboards/{id}`, { method: 'DELETE' }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.text());

Rate this page: