vitor-luca
PROOP
a year ago
I’m working with an API to accomplish this, but I’m having trouble figuring out the correct approach. Could someone please help me?
5 Replies
a year ago
Hey, you're probably looking for serviceInstanceUpdate mutation
mutation {
serviceInstanceUpdate(
serviceId: "service-id",
environmentId: "env-id",
input: { source: {image: "n8nio/n8n" } }
)
}a year ago
and you can get the environment id by using the project query
query GetProjectEnvironments {
project(id: "project-id") {
environments {
edges {
node {
id
name
}
}
}
}
}a year ago
!s
Status changed to Solved brody • 12 months ago