Set folder slug
folder.setSlug(slug)
Choose a new slug for your folder.
Syntax
Parameters:
- slug:
string
- The new slug to set for the folder.
Returns
Promise<null
>
A Promise that resolves to null
.
Example
TypeScript
Set folder slug
folder.setSlug(slug)
Choose a new slug for your folder.
string
- The new slug to set for the folder.Promise<null
>
A Promise that resolves to null
.