Workspaces
This API gives you the accessibility to create a new workspace in your TexAu account.
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
The workspace name
My Workspace
The orgUserId
5e9f8f8f8f8f8f8f8f8f8f8
The organisationId
5e9f8f8f8f8f8f8f8f8f8f8
The TimeZone
Asia/Kolkata
Workspace created successfully
Unauthorized access
Your plan does not have API access
Workspace limit reached, can not create new workspace
Requested workspace does not belongs to you
Error in creating workspace
POST /api/v1/public/workspaces HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"workspaceName": "My Workspace",
"orgUserId": "5e9f8f8f8f8f8f8f8f8f8f8",
"organisationId": "5e9f8f8f8f8f8f8f8f8f8f8",
"timezone": "Asia/Kolkata"
}
{
"success": true,
"message": "Workspace created successfully",
"data": {
"workspaceId": "text",
"orgUserId": "text"
}
}
This API gives you the accessibility to change your workspace name.
The workspace id
679cb332c77f9b9ef3264d56
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
The New Workspace Name
New Workspace
Workspace update successful
Unauthorized access
Your plan does not have API access
Workspace does not exist
Requested workspace does not belongs to you
Error in updating workspace
PUT /api/v1/public/workspaces/{workspaceId} HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"workspaceName": "New Workspace",
"organisationId": "text"
}
No content
This API gives you accessibility of deleting the workspace
Deleting the workspace will delete all workflow and their results
The workspace id
679cb332c77f9b9ef3264d56
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Workspace deleted successfully
Unauthorized access
Your plan does not have API access
Workspace does not exist
Requested workspace does not belongs to you
Error in deleting workspace
DELETE /api/v1/public/workspaces/{workspaceId} HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Accept: */*
No content
Last updated