Skip to main content

updateResource

form schema

Update an imported resource's name or payload. Provisioned resources cannot be updated through the API.

updateResource(
organizationId: ID!
id: ID!
input: UpdateResourceInput!
): ResourcePayload

Form Schema

This mutation supports dynamic form generation using JSON Schema.

Loading schema...

Arguments

updateResource.organizationId ● ID! non-null scalar {#organization-id}

Your organization ID

updateResource.id ● ID! non-null scalar {#id}

The resource ID

updateResource.input ● UpdateResourceInput! non-null input {#input}

Update a resource's name or payload. Provisioned resources can only have their name updated. Imported resources can also update their payload.

Type

ResourcePayload object