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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { body?: string; key: string; permissionSchemeId: number; } | - |
parameters.body? | string | - |
parameters.key? | string | The key of the permission scheme attribute. |
parameters.permissionSchemeId? | number | The id of the permission scheme. |
options? | RequestOptions | - |
Returns
Promise<void>