ProductionMu Mutation

createCapability

Topics: Jobs

Create a new capability. Requires capability:write permission.

Returns

UpsertCapabilityPayload!

Arguments

The capability to create. Its code must not already exist in the caller's tenant.

Exact field SDL
"""Create a new capability. Requires capability:write permission."""
createCapability(
  """
  The capability to create. Its code must not already exist in the caller's tenant.
  """
  input: CreateCapabilityInput!
): UpsertCapabilityPayload! @topic(names: ["jobs"])

Declared on Mutation. Access is checked by the platform for each operation.