updateCurrentMemberSlug( )


Updates the currently logged in member's slug.

The slug is the end of a member's URL that refers to a specific logged-in member. For example, if a member's URL is https://example.com/member/{my-member-slug}, the slug is my-member-slug. The slug is case-sensitive and is generally derived from the member's nickname; otherwise, it's derived from the loginEmail.

Note: Only logged-in members can call this function without elevated permissions. To call this function as a different identity, elevated permissions are required.

Permissions
Manage Blog
Manage Bookings Services and Settings
Manage Challenges
Access Verticals by Automations
Set Up Automations
Manage Members
Manage Events
Manage Portfolio
Manage Restaurants - all permissions
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
slugstringRequired

New slug.

Returns
Return Type:Promise<UpdateMySlugResponse>
Errors
409Already Exists

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?