spaceUpdate
Update an existing Space.
The spaceUpdate mutation accepts SpaceUpdateInput as input.
An example of the request is as follows:
mutation($file:Upload) {
spaceUpdate(input: {
id: "4ea59bab-xxx-xxxx-xxxx-3ab64",
name: "testing logos2"
description: "testing uploading logo"
theme:{
logoAltTxt: "testing"
logo: $file
}
}) {
id
name
description
createdDate
createdByAccountId
modifiedDate
sharedIpacks {
id
}
accountGroup {
id
}
modifiedByAccountId
url
theme{
logoAltTxt
logoUrl
}
}
}
The logo file used in the request must satisfy the following requirements:
- Less than or equal to 256 KB
- Must be a svg or png or jpg file type
The Altair GraphQL client supports file upload as per this specification. Refer to the following article for uploading the logo file using Altair. https://altair.sirmuel.design/docs/features/file-upload.html
spaceUpdate(
input: SpaceUpdateInput!
): Space
Arguments
spaceUpdate.input ● SpaceUpdateInput! non-null input catalog-service
Type
Space object catalog-service
Represents a space containing its identity, metadata, ownership details, shared iPacks, catalog artifacts, account group, theme, and related configuration information.
Was this topic helpful?