ProductionMu Mutation

deleteCapability

Topics: Jobs

Delete a capability owned by the caller's tenant. Non-tenant-scoped capabilities cannot be deleted: the payload reports success: false instead. Requires capability:delete permission.

Returns

DeleteCapabilityPayload!

Arguments

TypeID (prefix "cpb") of the tenant-owned capability to delete.

Exact field SDL
"""
Delete a capability owned by the caller's tenant. Non-tenant-scoped capabilities cannot be deleted: the payload reports success: false instead. Requires capability:delete permission.
"""
deleteCapability(
  """TypeID (prefix "cpb") of the tenant-owned capability to delete."""
  id: CapabilityID!
): DeleteCapabilityPayload! @topic(names: ["jobs"])

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