Query
query MsTeamsChannelSecretChanged($input: MsTeamsChannelSecretChangedInput!) {
msTeamsChannelSecretChanged(input: $input) {
clientId
clientSecret
errors {
code
message
}
}
}Variables
{
"input": {
"clientId": "string",
"clientSecret": "string",
"id": "value"
}
}Response
{
"data": {
"msTeamsChannelSecretChanged": {
"clientId": true,
"clientSecret": true,
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
]
}
}
}Queries
msTeamsChannelSecretChanged
Check if secrets for a Microsoft Teams channel is different compared to the passed input. Requires CHANNELS_WRITE permissions.
QUERY
msTeamsChannelSecretChanged(input: MsTeamsChannelSecretChangedInput!): MsTeamsChannelSecretChangedResult!Arguments
input
required
clientId
Boolean!
True if the stored client id is different from the value in the request.
clientSecret
Boolean!
True if the stored client secret is different from the value in the request.
errors
[ApiError!]!
Query
query MsTeamsChannelSecretChanged($input: MsTeamsChannelSecretChangedInput!) {
msTeamsChannelSecretChanged(input: $input) {
clientId
clientSecret
errors {
code
message
}
}
}Variables
{
"input": {
"clientId": "string",
"clientSecret": "string",
"id": "value"
}
}Response
{
"data": {
"msTeamsChannelSecretChanged": {
"clientId": true,
"clientSecret": true,
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
]
}
}
}