Delete skill

deleteSkill(projectReference: String!, id: String!, sourceTargetKind: WriteTargetKind, targetBranchId: ID): Acknowledgement!

Requires project.agents.write.

Arguments

ArgumentTypeRequiredDescription
projectReferenceString!Yes
idString!YesThe id of the definition, from its list.
sourceTargetKindWriteTargetKindNoThe source to write; default project.
targetBranchIdIDNoRequired with the kind preview_branch.

Response

Returns Acknowledgement!. Open the type for its fields and nested types.

FieldTypeDescription
okBoolean!Always true.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
mutation DeleteSkill($projectReference: String!, $id: String!, $sourceTargetKind: WriteTargetKind, $targetBranchId: ID) {
  deleteSkill(projectReference: $projectReference, id: $id, sourceTargetKind: $sourceTargetKind, targetBranchId: $targetBranchId) {
    ok
  }
}
json
{
  "projectReference": "00000000-0000-4000-8000-000000000001",
  "id": "example"
}