Mutation
mutation RotateGitDeployKey($input: RotateGitDeployKeyInput!) {
rotateGitDeployKey(input: $input) {
deployKey {
publicKey
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"rotateGitDeployKey": {
"deployKey": {
"publicKey": "string"
}
}
}
}rotateGitDeployKey
Replaces the workspace’s deploy key with a new one. Every call makes a new key. Needs git:write.
MUTATION
rotateGitDeployKey(input: RotateGitDeployKeyInput!): RotateGitDeployKeyPayload!Arguments
input
required
The rotation.
Returns
deployKey
The new deploy key.
Mutation
mutation RotateGitDeployKey($input: RotateGitDeployKeyInput!) {
rotateGitDeployKey(input: $input) {
deployKey {
publicKey
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"rotateGitDeployKey": {
"deployKey": {
"publicKey": "string"
}
}
}
}