Skip to content

Update thread properties.

PATCH
/threads/{thread_id}

Updates the default view that the thread uses or the parent board of the thread.

thread_id
required
string format: uuid

The id of the thread whose properties should be updated.

Examples

A thread from the gore board.

29d1b2da-3289-454a-9089-2ed47db4967b

Request body

object
defaultView

The default view that the thread should use.

string
Allowed values: thread gallery timeline
parentBoardId

The id of the board that the thread should be moved to.

string format: uuid
Examples
{
"defaultView": "gallery"
}

Thread properties successfully changed.

string
Example
OK

User was not found in request that requires authentication.

Generic response object

object
message
string
Examples

No authentication token given.

{
"message": "No authenticated user found."
}

User is unauthorized to perform thread operation.

Generic response object

object
message
string
Examples

Insufficient permissions.

{
"message": "User does not have required permissions for thread operation."
}

The specified thread could not be found.

Generic response object

object
message
string
Examples

Thread not found.

{
"message": "The thread with id 29d1b2da-3289-454a-9089-2ed47db4967b was not found."
}