Loading...
Was this page helpful?
This documentation provides a reference to the restoreRegions
method. This belongs to the Region Module.
This method restores soft deleted regions by their IDs.
regionIds
string[]returnLinkableKeys
property any of the region's relation attribute names, such as countries
.Promise
Promise<void | Record<string, string[]>>country_id
,
and its value is an array of strings, each being the ID of the record associated with the region through this relation,
such as the IDs of associated countries.
If there are no related records restored, the promise resolves to void
.