Rendley docs

Workspaces

#List workspaces

GET/v1/workspaces

List all workspaces belonging to the authenticated user.

Response codes
200

OK

401

Unauthorized

#Create a workspace

POST/v1/workspaces

Create a new workspace for the authenticated user.

Request body

namestringRequired
Response codes
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

#Get a workspace

GET/v1/workspaces/{id}

Returns a single workspace the authenticated user has access to. Used to load a specific (e.g. last-opened) workspace at startup rather than defaulting to the first.

Path parameters

idstring

Workspace ID

Response codes
200

OK

401

Unauthorized

403

Forbidden

404

Not Found

#Rename a workspace

PUT/v1/workspaces/{id}

Update a workspace's name. Only the workspace owner can do this.

Path parameters

idstring

Workspace ID

Request body

namestringRequired
Response codes
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

#Delete a workspace

DELETE/v1/workspaces/{id}

Delete a workspace and all of its contents (projects, brand kit, etc.). Only the workspace owner can do this, and the user's last remaining workspace can't be deleted.

Path parameters

idstring

Workspace ID

Response codes
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden