Mutation
mutation UpdateWorkspace($input: UpdateWorkspaceInput!) {
updateWorkspace(input: $input) {
workspace {
id
name
publicName
isDemoWorkspace
domainName
domainNames
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"updateWorkspace": {
"workspace": {
"id": "id",
"name": "string",
"publicName": "string",
"isDemoWorkspace": true,
"domainName": "string",
"domainNames": [
"string"
]
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
updateWorkspace
Update workspace settings such as the display name, logo, or allowed email domain names. At least one field must be provided. Domain names are stored in lowercase.
MUTATION
updateWorkspace(input: UpdateWorkspaceInput!): UpdateWorkspaceOutput!Arguments
input
required
Returns
workspace
error
Mutation
mutation UpdateWorkspace($input: UpdateWorkspaceInput!) {
updateWorkspace(input: $input) {
workspace {
id
name
publicName
isDemoWorkspace
domainName
domainNames
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"updateWorkspace": {
"workspace": {
"id": "id",
"name": "string",
"publicName": "string",
"isDemoWorkspace": true,
"domainName": "string",
"domainNames": [
"string"
]
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

