Waiting for engine...
Skip to main content

spaceCreate

Creates a new Space.

The spaceCreate mutation accepts the following input: SpaceCreateInput.

An example of the request is as follows:

mutation($file:Upload) {
spaceCreate(input: {
name: "testing logos2"
description: "testing uploading logo"
sharingMode: ACCOUNT_GROUP
integrationPackIds: []
accountGroupId: "b1bddd1dd41d-d59623-401ddb-8a9y01-a184e0d4d041a"

accountIds: [
"demoacct1-BQZ9V2"
"demoacct2-LIYF9V"
"demoacct3-2DOYAL"
"demoacct3-17BSXD"
"sidpopaccount-746SUU"
"sourcechildaccount-EE07OA",
"sourcechildaccount2-28K1PZ"
]
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: 1.File size must be 256 KB or less. 2.Must be an SVG, 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

spaceCreate(
input: SpaceCreateInput!
): Space

Arguments

spaceCreate.input ● SpaceCreateInput! 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.

On this Page