Skip to main content

GrantUpdate

namestring

Possible values: non-empty and <= 255 characters

descriptionstring | nullnullable

Possible values: <= 2000 characters

abilities object[]

Replaces the abilities. It applies to every group the grant is attached to. A grant attached to a sponsored group must keep every ability rooted on a cluster.

Possible values: >= 1

  • Array [
  • path object[]required

    Possible values: >= 1

  • Array [
  • resourcestringrequired

    Possible values: [access-token, ai-model, client-contract, cluster, collection, connector, dataset, endpoint, entry, file, workflow, grant, invoice, job, license, mcp-config, node, organization, provider, rate-catalog-entry, role, source, stripe, tag, user]

    resourceId objectrequired

    A positive integer id, or the wildcard "*" covering every resource of this type.

    oneOf
    integer

    Possible values: >= 1

  • ]
  • accessTypestringrequired

    Possible values: [read, write]

  • ]
  • GrantUpdate
    {
    "name": "string",
    "description": "string",
    "abilities": [
    {
    "path": [
    {
    "resource": "access-token",
    "resourceId": 0
    }
    ],
    "accessType": "read"
    }
    ]
    }