/sessions/currentUser/favourites/{id}/rename - Rename a folder in a user's favorites
Renames a folder in the current user's favorites.
End-point
POST | /sessions/currentUser/favourites/{id}/rename |
Path parameters
Field | Description |
---|---|
|
The ID for the folder that will have its name changed. |
Request body
Field | Type | Description |
---|---|---|
|
The current information about the user's favorites that is required to rename the folder. |
Possible response
HTTP status | Description |
---|---|
200 |
The operation completed successfully |
401 |
There is no session or the session is invalid |
Response body
Field | Type | Description |
---|---|---|
|
The information for the updated folder name and favorites. |