Was this helpful?
Retrieves a specific workspace by its ID
/workspaces/{id}
curl -L \ --url 'https://lamapi3.azurewebsites.net/workspaces/{id}' \ --header 'Authorization: Bearer JWT'
{ "id": 1, "name": "text" }
Updates the name of the specified workspace
curl -L \ --request PUT \ --url 'https://lamapi3.azurewebsites.net/workspaces/{id}?name=text' \ --header 'Authorization: Bearer JWT'
Deletes the specified workspace
curl -L \ --request DELETE \ --url 'https://lamapi3.azurewebsites.net/workspaces/{id}' \ --header 'Authorization: Bearer JWT'
No body
Retrieves all workspaces for the authenticated user
/workspaces
curl -L \ --url 'https://lamapi3.azurewebsites.net/workspaces' \ --header 'Authorization: Bearer JWT'
Creates a new workspace with the given name
curl -L \ --request POST \ --url 'https://lamapi3.azurewebsites.net/workspaces?name=text' \ --header 'Authorization: Bearer JWT'