Capabilities

Grants a capability to an organization.

Changed on

Idempotent: re-granting an existing grant is a no-op.

put/organizations/{organizationId}/capabilities/{capability}

Request

  • Base URL
    https://api.rapidata.ai
  • URL
    https://api.rapidata.ai/organizations/{organizationId}/capabilities/{capability}
  • Auth
    OpenID Connect (https://auth.rapidata.ai/.well-known/openid-configuration, scopes: openid, profile, email, offline_access, api)

Path parameters

organizationIdstring required

The organization to grant the capability to.

capability'SkipContentCheck' | 'PreheatBoost' | 'RequestFeatures' | 'RunExperiments' | 'UploadLongMedia' | 'Faucets' | 'BringYourOwnAudience' required

The named platform-wide capability entitlements a customer can be granted. Each maps to a capability object in the authorization graph; convert to its object id with string CapabilityExtensions.ToObjectId(Capability capability). Kept as a typed enum so capability grants read explicitly at call sites (and, later, on endpoint contracts) instead of passing raw id strings around.

The capability to grant.

Response

No Content

Changes

    • breaking

      removed the enum value ManagedForgeFaucet from the path request parameter capability

    • breaking

      removed the enum value ManagedImageFaucet from the path request parameter capability

    • info

      added the new enum value BringYourOwnAudience to the path request parameter capability

    • info

      added the new enum value Faucets to the path request parameter capability

    • info

      added the new enum value UploadLongMedia to the path request parameter capability