Skip to main content

createRepoGrant

form schema

Share an OCI repo with recipient projects matching recipientConditions.

The caller must have repo:update on the source repo. Grants are immutable — to change action or recipientConditions, delete and re-create.

createRepoGrant(
organizationId: ID!
repoId: ID!
input: CreateRepoGrantInput!
): GrantPayload

Form Schema

This mutation supports dynamic form generation using JSON Schema.

Loading schema...

Arguments

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

Your organization's unique identifier.

createRepoGrant.repoId ● ID! non-null scalar {#repo-id}

The repository name (e.g., aws-aurora-postgres).

createRepoGrant.input ● CreateRepoGrantInput! non-null input {#input}

Share an OCI repo with recipient projects matching attribute conditions. The caller must have repo:update on the source repo.

Type

GrantPayload object