Skip to content

Commit e93571c

Browse files
authored
docs: Add delete target docs (#6911)
1 parent b1a6a42 commit e93571c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

packages/web/docs/src/content/graphql-api/target-management.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,20 @@ mutation UpdateTargetGraphQLEndpointUrl($input: UpdateTargetDangerousChangeClass
142142
}
143143
}
144144
```
145+
146+
## Delete a Target
147+
148+
Use the `Mutation.deleteTarget` field for deleting a target within a project.
149+
150+
```graphql
151+
mutation DeleteTarget($input: DeleteTargetInput!) {
152+
deleteTarget(input: $input) {
153+
ok {
154+
deletedTargetId
155+
}
156+
error {
157+
message
158+
}
159+
}
160+
}
161+
```

0 commit comments

Comments
 (0)