Skip to content

Function: deleteSpaceRole()

ts
function deleteSpaceRole(client, parameters): Promise<{
[key: string]: unknown;
  taskId?: string;
}>;

Defined in: src/v2/api/spaceRoles.ts:124

Delete a space role

Available on tenants with Role-Based Access Control.

Permissions required: User must be an organization or site admin. Connect and Forge app users are not authorized to access this resource.

Parameters

ParameterTypeDescription
clientClient-
parameters{ id: string; }-
parameters.idstringId of the space role

Returns

Promise&lt;{ [key: string]: unknown; taskId?: string; }>