updateSlug( )


Changes the currently logged-in member's slug.

The updateSlug() function returns a Promise that resolves to a member after the member's slug is changed.

Note: The APIs in CurrentMember are only partially functional when previewing your site. View a published version of your site to see their complete functionality.

Method Declaration
Copy
Method Parameters
slugstringRequired

New slug.

Returns
Return Type:Promise<Member>
Was this helpful?
Yes
No