Skip to content

Function: deleteProjectRole() ​

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

Defined in: src/server/api/projectRoles.ts:103

Deletes a role. May return 403 in the future

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: number; swap?: number; }-
parameters.idnumberThe role id
parameters.swap?numberIf given, removes a role even if it is used in scheme by replacing the role with the given one
options?RequestOptions-

Returns ​

Promise<void>