Favorite workspace by ID.
PUT
CoderSessionTokenheader
Coder-Session-Token<token>workspace*stringWorkspace ID
Format
uuidNo Content
The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X PUT \ "$CODER_URL/api/v2/workspaces/{workspace}/favorite" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response204
Empty