v4

latestOpenAPI 3.0.3MIT2026-08-054021,2895.8 MB
Admin

Rotates the slug of the specified view, permanently invalidating the current public URL, if the requesting user is staff. This works even if the requesting user is not a member of the workspace the view belongs to.

post/api/database/admin/views/{view_id}/rotate-slug/

Path parameters

view_idinteger required

The id of the view whose slug must be rotated.

Response

idinteger required
namestring required
slugstring

The unique slug where the view can be accessed publicly on.

typestring required
table_idinteger required
table_namestring required
database_idinteger required
database_namestring required
workspace_idinteger required
workspace_namestring required
publicboolean

Indicates whether the view is publicly accessible to visitors.

public_view_has_passwordboolean required
owned_by_idinteger required
owned_by_usernamestring required
ownership_typestring

Indicates how the access to the view is determined. By default, views are collaborative and shared for all users that have access to the table.

created_onstring date-time required