From 570f399e9ca591b82ae9dc957dee3db39d025b9e Mon Sep 17 00:00:00 2001 From: ruedigerblock Date: Fri, 20 Jan 2023 01:58:47 +0100 Subject: [PATCH] fix(docs): add missing mutation literal (#7082) --- docs/api/graphql/token-management.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/graphql/token-management.md b/docs/api/graphql/token-management.md index 95cf5a4332..5e3c47c2bd 100644 --- a/docs/api/graphql/token-management.md +++ b/docs/api/graphql/token-management.md @@ -34,7 +34,7 @@ mutation { curl --location --request POST 'http://localhost:8080/api/graphql' \ --header 'X-DataHub-Actor: urn:li:corpuser:datahub' \ --header 'Content-Type: application/json' \ ---data-raw '{ "query":"{ createAccessToken(input: { type: PERSONAL, actorUrn: \"urn:li:corpuser:datahub\", duration: ONE_HOUR, name: \"my personal token\" } ) { accessToken metadata { id name description} } }", "variables":{}}' +--data-raw '{ "query":"mutation { createAccessToken(input: { type: PERSONAL, actorUrn: \"urn:li:corpuser:datahub\", duration: ONE_HOUR, name: \"my personal token\" } ) { accessToken metadata { id name description} } }", "variables":{}}' ``` ### Listing Access Tokens