Update JIRA Authentications
The following mutation updates a JIRA Authentication:
- Query
- cURL
mutation UpdateJIRAAuthentication($jiraAuthenticationId: ObjectID!, $name: String) {
updateJiraAuthentication(
input: {
jiraAuhtenticationId: $jiraAuthenticationId
name: $name
}
) {
jiraAuthentication {
id
name
}
}
}
curl -X POST -H "Content-Type: application/json" -H "apollographql-client-name: docs-example-client" -H "apollographql-client-version: 1.0.0" -H "x-auth-token: YOUR_API_SESSION_TOKEN" --data '{"query":"mutation UpdateJIRAAuthentication($jiraAuthenticationId: ObjectID!, $name: String) { updateJiraAuthentication( input: { jiraAuhtenticationId: $jiraAuthenticationId name: $name } ) { jiraAuthentication { id name } } }"}' https://api.lumar.io/graphql
caution
Only the name of a JIRA Authentication can be updated.