Skip to main content

updateSite

Mutation

Used to update the details of a specific site.

updateSite(input: SiteUpdateRequestInput): SiteUpdateResponse

Arguments​

ArgumentTypeDefaultDescription
inputSiteUpdateRequestInputProvide the site details you want to update here, such as the name.

Returns​

SiteUpdateResponse

Example​

Request
mutation UpdateSite($input: SiteUpdateRequestInput) {
updateSite(input: $input) {
site {
id
name
}
}
}