โ† API reference
Mutation / jobs

deleteCapability

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.

Arguments

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

Returns DeleteCapabilityPayload!

Scalar fields at a glance

successBoolean!
โ†— View the complete DeleteCapabilityPayload type

Explore in a view

Production Floor
View exact 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"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.