Run in Apidog
Use this endpoint to update an existing workspace’s name. Make sure the workspace ID is correct and that the new name does not conflict with another workspace in your account.
Request Body Params application/json
{
"id" : "b9085239-6bb1-479b-8a30-271f7d6f904e" ,
"name" : "New Workspace"
}
Request Code Samples
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"
}'
Responses application/json Generate Code
{
"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
}
}
Modified at 2025-10-14 09:20:42