Skip to content

Function: setSchemeAttribute() ​

ts
function setSchemeAttribute(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/server/api/permissionSchemes.ts:82

Updates or inserts the attribute for a permission scheme specified by permission scheme id. The attribute consists of the key and the value. The value will be converted to Boolean using Boolean#valueOf.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ body?: string; key: string; permissionSchemeId: number; }-
parameters.body?string-
parameters.key?stringThe key of the permission scheme attribute.
parameters.permissionSchemeId?numberThe id of the permission scheme.
options?RequestOptions-

Returns ​

Promise<void>