Remove User Document Tag
GraphQL endpoint: /user
Detaches a tag from one of the calling user's documents. Removing a suggested tag rejects the suggestion, so it no longer appears in tagSuggestions.
Query
mutation ($documentId: ID!, $tagId: ID!) {
removeUserDocumentTag(documentId: $documentId, tagId: $tagId) {
status
}
}
Variables
{
"documentId": "00000000-0000-4000-8000-000000000001",
"tagId": "00000000-0000-4000-8000-000000000002"
}Response
{
"data": {
"removeUserDocumentTag": {
"status": "OK"
}
}
}Last updated
Was this helpful?