Workspaces

Updating a workspace

  • JSON
  • XML

{{codeStart}}

PUT https://api.<region>.whispir.com/workspaces


Authorization: Basic asdf98nf89asdvasd2r398h8sdf

x-api-key: your_api_key

Content-Type: application/vnd.whispir.workspace-v1+json


{

"projectName": "A Space Odyssey",

"projectNumber": "2001",

"status": "A",

"billingcostcentre": "Hollywood"

}

{{codeEnd}}

Request Body Details

projectName
(required)

String

Specifies the name of the workspace to be created.

status
(required)

String

Specifies the status of the workspace being created. The status can be either:

  • A [stands for Active] - recommended
  • D [stands for Disabled]

projectNumber

String

Specifies the reference ID for the workspace from the user side. Generally not used.

Note: This is not the actual workspace ID. It’s just a custom reference ID given by you for your own purposes.

billingcostcentre

String

Allows the user to set a billing cost centre for the workspace.

Note: This is only applicable to customers with the Billing Cost Centre module enabled.

Sample Response

204 - No Content