Skip to content

Update workspace

PATCH
/api/v1/workspaces/{id}

Updates a single workspace by ID.

id
required
integer

Workspace ID

object
name
string
auto_join
boolean

Successful

object
id
required
integer
Example
12345
name
required
string
Example
Default workspace
auto_join
required
boolean
Example
true
created_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z

Unauthorized

object
message
required
string
Example
Record not found

Forbidden

object
message
required
string
Example
Record not found

Not Found

object
message
required
string
Example
Record not found

Unprocessable Entity

object
message
required
string
Example
Failed to save
errors
required
object
key
additional properties
Array<string>
Example
{
"errors": {
"username": [
"Username is required.",
"Username must be unique."
],
"email": [
"Invalid email format."
]
}
}