curl --location --request PUT 'https://api.zapmail.ai/api/v2/workspaces' \
--header 'x-auth-zapmail;' \
--header 'x-workspace-key;' \
--header 'x-service-provider;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "b9085239-6bb1-479b-8a30-271f7d6f904e",
"name": "New Workspace"
}'{
"status": 200,
"message": "Workspace updated successfully",
"data": {
"id": "b9085239-6bb1-479b-8a30-271f7d6f904e",
"userId": "fbf34af0-be3b-4add-bd97-462e2471f65d",
"name": "New Workspace",
"createdAt": "2024-08-09T06:08:47.459Z",
"updatedAt": "2024-08-09T06:17:20.331Z",
"deletedAt": null
}
}