Resources
Delete or trash a resource
Permanently deletes a resource or moves it to the trash in PAM360. To move the resource to trash instead of permanently deleting it, pass deleteType as trash in the INPUT_DATA. If INPUT_DATA is omitted or deleteType is not specified, the resource is permanently deleted.
delete/restapi/json/v1/resources/{resourceId}
Request
- Base URLhttps://Hostname:Port
- AuthAPI key in header AUTHTOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
resourceIdinteger required
Resource ID
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Request body application/x-www-form-urlencoded
Example request
{
"INPUT_DATA": {
"operation": {
"Details": {
"deleteType": "trash"
}
}
}
}Response
Resource deleted or moved to trash
Changes
No recorded changes to this operation across all 1 revision of this API.