Function undeleteResource

  • Restore the latest deleted version of a resource, keeping its ID. Resources deleted alongside it are not restored and secrets are left empty. Admin only

    Parameters

    • resource_type: string

      Type (table name) of the deleted resource

    • resource_id: string

      ID of the deleted resource

    Returns Promise<HashMap<any>>

    The restored resource