---
updatedAt: 2026-06-15T13:51:20.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/jamf-pro/llms.txt
---

# Updates Jamf Pro GSX Connection information


Updates Jamf Pro GSX Connection information


> 📋 **Required privileges:**
> - Update GSX Connection
> - Update Push Certificates

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Jamf Pro API",
    "termsOfService": "https://www.jamf.com/developer-resources/api-license-agreement",
    "version": "11.33.0"
  },
  "servers": [
    {
      "url": "https://yourServer.jamfcloud.com/api"
    }
  ],
  "x-readme": {
    "samples-languages": [
      "curl",
      "swift",
      "ruby",
      "python"
    ],
    "explorer-enabled": false
  },
  "security": [
    {
      "Bearer": []
    },
    {
      "ApiClient": []
    },
    {
      "BasicAuth": [
        "/v1/auth/token"
      ]
    }
  ],
  "paths": {
    "/v1/gsx-connection": {
      "put": {
        "tags": [
          "gsx-connection"
        ],
        "summary": "Updates Jamf Pro GSX Connection information\n",
        "description": "Updates Jamf Pro GSX Connection information\n\n\n> 📋 **Required privileges:**\n> - Update GSX Connection\n> - Update Push Certificates",
        "requestBody": {
          "description": "GSX Connection to update",
          "content": {
            "application/merge-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GsxConnection"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GsxConnection"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "There was an error applying the put",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "x-required-privileges": [
          "Update GSX Connection",
          "Update Push Certificates"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ApiError": {
        "type": "object",
        "properties": {
          "httpStatus": {
            "type": "integer",
            "description": "HTTP status of the response",
            "example": 400
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApiErrorCause"
            }
          }
        }
      },
      "ApiErrorCause": {
        "required": [
          "field"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error-specific code that can be used to identify localization string, etc.",
            "example": "8675309"
          },
          "field": {
            "type": "string",
            "description": "Name of the field that caused the error.",
            "example": "Name"
          },
          "description": {
            "type": "string",
            "description": "A general description of error for troubleshooting/debugging. Generally this text should not be displayed to a user; instead refer to errorCode and it's localized text",
            "example": "I've just picked up a fault in the AE35 unit. It's going to go 100% failure in 72 hours"
          },
          "id": {
            "type": "string",
            "description": "id of object with error. Optional.",
            "nullable": true,
            "example": "3"
          }
        }
      },
      "GsxConnection": {
        "required": [
          "enabled",
          "gsxKeystore",
          "serviceAccountNo",
          "token",
          "username"
        ],
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "example": true,
            "default": false
          },
          "username": {
            "type": "string",
            "example": "exampleEmail@example.com",
            "default": " "
          },
          "serviceAccountNo": {
            "maxLength": 10,
            "type": "string",
            "example": "0000012345"
          },
          "shipToNo": {
            "maxLength": 10,
            "type": "string",
            "example": "0000012345"
          },
          "token": {
            "type": "string",
            "writeOnly": true,
            "example": "34dsg23-5dsgs-3sdg-4ffs-435sdgs"
          },
          "gsxKeystore": {
            "$ref": "#/components/schemas/GsxKeystore"
          }
        }
      },
      "GsxKeystore": {
        "required": [
          "keystore",
          "keystorePassword",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "certificate.p12",
            "default": " "
          },
          "expirationEpoch": {
            "type": "integer",
            "format": "int64",
            "readOnly": true,
            "example": 169195490000
          },
          "errorMessage": {
            "type": "string",
            "readOnly": true,
            "example": "Certificate error"
          },
          "keystoreBytes": {
            "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$",
            "type": "string",
            "description": "The base 64 encoded of the GSX Connection keystore.",
            "format": "byte",
            "writeOnly": true,
            "example": "WlhoaGJYQnNaU0J2WmlCaElHSmhjMlUyTkNCbGJtTnZaR1ZrSUhaaGJHbGtJSEF4TWk0Z2EyVjVjM1J2Y21VZ1ptbHNaUT09"
          },
          "keystorePassword": {
            "type": "string",
            "format": "password",
            "writeOnly": true,
            "example": "test1234"
          }
        }
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "BasicAuth": {
        "type": "http",
        "description": "Basic auth is used only for obtaining bearer tokens from the /v1/auth/token endpoint",
        "scheme": "basic"
      },
      "ApiClient": {
        "type": "oauth2",
        "description": "Jamf Pro API Roles and Clients provide a client ID and secret for obtaining access tokens using the OAuth2 client_credentials grant type",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/api/v1/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  }
}
```