Generate API key with GraphQL
(update the licenseKey and teamID below with the appropriate values for the team you want to work with)
Sample GraphQL mutation: (see https://api.us.flatfile.io/graphql for more info as needed)
mutation {
createAccessKey(
licenseKey:"055f3544-1557-4895-8114-046d092a3ed5",
memo:"Any memo",
teamId:3323
) {
secretAccessKey {secret}
accessKey {accessKeyId}
}
}
Deactivate API key with GraphQL
(update the accessKeyId below with the appropriate values for the team you want to work with)
Sample GraphQL mutation:
mutation {
inactivateAccessKey(
accessKeyId:"FF00S3SPHN6RRFQH8C4UF1GZ7KML2RVS85YPFZIB"
) {
accessKeyId
inactivatedAt
inactivatedByUser {id, name}
}
}
Comments
0 comments
Please sign in to leave a comment.