removeResource

Function

Removes a resource associated with an item

  • removeResource(id: string, name: string, owner: string, ro: IUserRequestOptions) : Promise<{
    success:
    boolean
    }>

Parameters

Parameter Type Default Notes
id Required string

item id

name Required string

resource name

owner Required string

item owner

ro Required IUserRequestOptions

request options

Returns

{Promise<{ success: boolean; }>}

Promise<{
success:
boolean
}>

Function defined in common/src/resources/removeResource.ts:17