Skip to content

Function: setBoardProperty() ​

ts
function setBoardProperty(
   client, 
   parameters, 
   options?
): Promise<
  | {
[key: string]: unknown;
  keys?: object[];
}
| undefined>;

Defined in: src/server/api/board.ts:338

Sets the value of the specified board's property. You can use this resource to store a custom data against the board identified by the id. The user who stores the data is required to have permissions to modify the board.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ boardId: number; body: Record<string, any>; propertyKey: string; }-
parameters.boardIdnumberThe id of the board on which the property will be set.
parameters.body?Record<string, any>-
parameters.propertyKey?stringThe key of the board's property.
options?RequestOptions-

Returns ​

Promise< | { [key: string]: unknown; keys?: object[]; } | undefined>