Auth refresh ({collection.name})

Returns a new auth response (token and record data) for an already authenticated record.

This method is usually called by users on page/screen reload to ensure that the previously stored data in pb.authStore is still valid and up-to-date.

API details
POST

/api/collections/{collection.name}/auth-refresh

Requires Authorization:TOKEN header

Query parameters
Param Type Description
expand String Auto expand record relations. Ex.: Supports up to 6-levels depth nested relations expansion.
The expanded relations will be appended to the record under the expand property (eg. {`"expand": {"relField1": {...}, ...}`}).
Only the relations to which the request user has permissions to view will be expanded.
Responses
{#each responses as response (response.code)} {/each}
{#each responses as response (response.code)}
{/each}