updateResource
Update an imported resource's name or payload.
Only resources with origin IMPORTED can be updated. Attempting to update a
PROVISIONED resource returns an error — those are managed by their owning
instance's deployment lifecycle.
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's unique identifier.
updateResource.id ● ID! non-null scalar {#id}
The resource to update.
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.