createResourceGrant
Share a resource with recipient environments matching recipientConditions.
The caller must have resource:update on the source resource. Grants are
immutable — to change action or recipientConditions, delete and re-create.
createResourceGrant(
organizationId: ID!
resourceId: ID!
input: CreateResourceGrantInput!
): GrantPayload
Form Schema
This mutation supports dynamic form generation using JSON Schema.
Loading schema...
Arguments
createResourceGrant.organizationId ● ID! non-null scalar {#organization-id}
Your organization's unique identifier.
createResourceGrant.resourceId ● ID! non-null scalar {#resource-id}
The resource's unique identifier.
createResourceGrant.input ● CreateResourceGrantInput! non-null input {#input}
Share a resource with recipient environments matching attribute conditions. The caller must have resource:update on the source resource.