Create client secret
On this page
GraphQL endpoint: /company
Creates a new client secret for the calling company with an optional description. The plaintext clientSecret is returned only in this response and cannot be retrieved later.
Query
mutation ($description: String) {
createClientSecret(description: $description) {
id
clientId
clientSecret
description
}
}
Variables
{
"description": "production key"
}
Response
{
"data": {
"createClientSecret": {
"clientId": "00000000-0000-4000-8000-000000000001",
"clientSecret": "RbywPevGOIDRbLioL1K23Q",
"description": "production key",
"id": "00000000-0000-4000-8000-000000000002"
}
}
}