Overview
Delete a credential by using a mutation and variables.When you create, update, or delete an object, you use a
mutation operation instead of a query.Steps
1
Write the mutation
Write a
credentialsDelete mutation. The variables in the mutation, which start with $, map one-to-one to the keys of the Python dictionary you send with the request.2
Send the mutation
Send the mutation with the credential ID. The key
ids in the dictionary maps to the $ids variable in the mutation.3
Ensure there were no errors
If the list of errors is empty, the request was processed successfully.
Full code sample
Python
Example response
JSON