MIDAS API Addon MIDAS API: del_resource

Available in API 2.0+
Deletes an existing resource, and removes it from any existing bookings
Required ParametersPossible ValuesDescription
resourceResource IDThe numeric ID of the existing resource to delete
Example Response
{
	"resource_deleted":"67",
	"bookings_affected":"4,8,15,16,23,42"
}
Variables ReturnedDescription
resource_deletedThe numeric ID of the deleted resource
bookings_affectedA comma-separated list of all the booking ID's from which the deleted resource has been removed