Make a PUT request to the API.
API endpoint
Request body (will be JSON-stringified)
Promise resolving to ApiResponse with data or error
const response = await apiPut<Term>('/terms/123', { translation: 'bonjour' }); Copy
const response = await apiPut<Term>('/terms/123', { translation: 'bonjour' });
Make a PUT request to the API.