const response = await fetch('/v1/workspace/{id}/copy', { method: 'POST', headers: {}, }); const data = await response.json();