Delete resources from Recycle Bin

POST {{baseUrl}}/v1/recycleBin/delete

This API permanently deletes the resources specified in the API request. Additionally, the child resources are also permanently deleted.

OAuth Scope

  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
ids (required)<list>
Array containing the IDs of the resources to delete.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;success&quot;:true,&quot;id&quot;:&quot;4000000056156&quot;,&quot;errors&quot;:null},{&quot;success&quot;:false,&quot;id&quot;:&quot;232323&quot;,&quot;errors&quot;:{&quot;errorMessage&quot;:null,&quot;errorCode&quot;:&quot;UNPROCESSABLE_ENTITY&quot;,&quot;httpCode&quot;:&quot;422&quot;}},{&quot;success&quot;:false,&quot;id&quot;:&quot;3213123&quot;,&quot;errors&quot;:{&quot;errorMessage&quot;:null,&quot;errorCode&quot;:&quot;UNPROCESSABLE_ENTITY&quot;,&quot;httpCode&quot;:&quot;422&quot;}},{&quot;success&quot;:false,&quot;id&quot;:&quot;40000000561232&quot;,&quot;errors&quot;:{&quot;errorMessage&quot;:null,&quot;errorCode&quot;:&quot;FORBIDDEN&quot;,&quot;httpCode&quot;:&quot;403&quot;}}]}