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

# Update specific fields on a cloud distribution point

Update specific fields on a cloud distribution point, then return the updated cloud distribution point details object.

> 📋 **Required privilege:** Update Cloud Distribution Point

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Jamf Pro API",
    "termsOfService": "https://www.jamf.com/developer-resources/api-license-agreement",
    "version": "11.34.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/cloud-distribution-point": {
      "patch": {
        "tags": [
          "cloud-distribution-point"
        ],
        "summary": "Update specific fields on a cloud distribution point",
        "description": "Update specific fields on a cloud distribution point, then return the updated cloud distribution point details object.\n\n> 📋 **Required privilege:** Update Cloud Distribution Point",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloudDistributionPoint"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The cloud distribution point was successfully updated. After the update, a connection test was performed to verify the configuration, and files were successfully uploaded to the distribution point.\nThe response body will return the most up-to-date information about the cloud distribution point, including:\n    - Updated configuration fields.\n    - Connection test status (success or failure).\n",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CloudDistributionPoint"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request. The server could not understand the request because of invalid syntax. Possible reasons are:</br> 1) Required fields are not provided in request body.</br> 2) Fields which are not associated with provided cdnType has some value.</br> 3) Any values outside of the allowed range are included in the request body.</br>",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "x-required-privileges": [
          "Update Cloud Distribution Point"
        ]
      }
    }
  },
  "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"
          }
        }
      },
      "CloudDistributionPoint": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CloudDistributionPointTestConnection"
          },
          {
            "required": [
              "cdnType",
              "password",
              "username"
            ],
            "type": "object",
            "properties": {
              "inventoryId": {
                "type": "string",
                "description": "The unique identifier (inventoryId) that links the cloud distribution point to its inventory data. By default, its value is 0, and it increments by +1 based on the existing inventory ID present in the table for each new cloud distribution point configuration. If the cdnType is set to NONE in the next configuration, the ID resets and starts from 1.",
                "readOnly": true,
                "default": "0"
              },
              "cdnType": {
                "type": "string",
                "description": "Specifies the content delivery network (CDN) used to distribute content for the cloud distribution point.",
                "enum": [
                  "NONE",
                  "JAMF_CLOUD",
                  "RACKSPACE_CLOUD_FILES",
                  "AMAZON_S3",
                  "AKAMAI"
                ],
                "default": "NONE"
              },
              "master": {
                "type": "boolean",
                "description": "Use as principal distribution point. Use as the authoritative source for all files.<br/> Possible values are:<br/> false <br/> true",
                "example": false,
                "default": false
              },
              "username": {
                "type": "string",
                "description": "The username or access key used for authenticating with the selected content delivery network (CDN). \nThis field is required when the **cdnType** is set to **Rackspace Cloud Files(RACKSPACE_CLOUD_FILES)**, **Amazon Web Services(AMAZON_S3)**, or **Akamai(AKAMAI)**, as it is used to authenticate and authorize access to the respective cloud services.\n- For **Rackspace Cloud Files(RACKSPACE_CLOUD_FILES)**, this is typically the username associated with your Rackspace cloud account.\n- For **Amazon Web Services(AMAZON_S3)**, this corresponds to the **Access Key ID** used to interact with Amazon Web Services(AMAZON_S3) resources.\n- For **Akamai(AKAMAI)**, this is the username used for API authentication to access Akamai's content delivery services.\nIf the **cdnType** is **None**, this field is not applicable.\n",
                "example": "Admin"
              },
              "password": {
                "type": "string",
                "description": "The password or authentication key used for connecting to the selected content delivery network (CDN). \nThis field is required when the **cdnType** is set to **Rackspace Cloud Files(RACKSPACE_CLOUD_FILES)**, **Amazon Web Services(AMAZON_S3)**, or **Akamai(AKAMAI)**, and is used to authenticate and authorize access to the respective cloud services.\n- For **Rackspace Cloud Files(RACKSPACE_CLOUD_FILES)**, this refers to the **API Key** that is used in conjunction with the username for authenticating API requests.\n- For **Amazon Web Services(AMAZON_S3)**, this corresponds to the **Secret Access Key** associated with your AWS account, used to securely sign requests to AWS services.\n- For **Akamai(AKAMAI)**, this is the **password** used for API authentication to access Akamai's content delivery services.\nIf the **cdnType** is **None**, this field is not applicable.\n",
                "format": "password",
                "writeOnly": true,
                "example": "secretKey123"
              },
              "directory": {
                "type": "string",
                "description": "The directory or path for content delivery in Akamai. This field is required when the **cdnType** is set to **Akamai(AKAMAI)** and specifies where content is stored within Akamai's system.",
                "example": "123456"
              },
              "cdnUrl": {
                "type": "string",
                "description": "The CDN URL for the cloud distribution point. The URL format varies depending on the selected CDN provider:\n- **Rackspace Cloud Files(RACKSPACE_CLOUD_FILES)**\n- **Amazon Web Services(AMAZON_S3)** \n- **Akamai(AKAMAI)**\n\nThe **cdnUrl** should point to the content distribution location where software or other content is stored and made available for distribution.\n",
                "readOnly": true,
                "example": "https://example-cdn-url.com/content-path"
              },
              "uploadUrl": {
                "type": "string",
                "description": "The URL used to upload files to Akamai's NetStorage. This field is required when the **cdnType** is set to **Akamai(AKAMAI)**. \nIt specifies where content should be uploaded to Akamai’s cloud storage before being distributed via their CDN. The upload typically uses FTP or SFTP.\n",
                "example": "ftp://mycompany.upload.akamai.com"
              },
              "downloadUrl": {
                "type": "string",
                "description": "The URL used to access and download content from Akamai's EdgeSuite. This field is required when the **cdnType** is set to **Akamai(AKAMAI)**. \nIt specifies the endpoint from which files are retrieved by devices or users.\n",
                "example": "https://download.mycompany.com"
              },
              "secondaryAuthRequired": {
                "type": "boolean",
                "description": "Enable Remote Authentication.Authorize requests for files stored on the distribution point. This field is required when the **cdnType** is set to **Akamai(AKAMAI)**.<br/> Possible values are:<br/> false <br/> true",
                "example": false,
                "default": false
              },
              "secondaryAuthStatusCode": {
                "type": "integer",
                "description": "Secondary Auth Status Code. Configure the HTTP response code that will be returned by Jamf Pro during remote authentication. This field is required when the **cdnType** is set to **Akamai(AKAMAI)** and **secondaryAuthRequired** is true.",
                "default": 200
              },
              "secondaryAuthTimeToLive": {
                "minimum": 1,
                "type": "integer",
                "description": "Secondary Auth Time To Live. Number of seconds before the authorization token expires. This field is required when the **cdnType** is set to **Akamai(AKAMAI)** and **secondaryAuthRequired** is true.",
                "default": 3600
              },
              "requireSignedUrls": {
                "type": "boolean",
                "description": "Amazon Sign Url. It restrict access to requests that use a signed URL. This field is required when the **cdnType** is set to **Amazon Web Services(AMAZON_S3)**.<br/> Possible values are:<br/> false <br/> true",
                "example": false,
                "default": false
              },
              "keyPairId": {
                "type": "string",
                "description": "The CloudFront Access Key ID (keyPairId) is part of the credentials used to generate signed URLs for secure access to content in a CloudFront distribution.\nWhen using AWS, this key is paired with the CloudFront Secret Access Key to create the signed URL, ensuring that only authorized users can access specific content within a specified timeframe.\nThis field is required when the **cdnType** is set to **Amazon Web Services(AMAZON_S3)** and **requireSignedUrls** is true.\n",
                "example": "K1R8C5EXAMPLE"
              },
              "expirationSeconds": {
                "minimum": 1,
                "type": "integer",
                "description": "Signed URL Expiration. Number of seconds before the signed URL expires, This field is required when the **cdnType** is set to **Amazon Web Services(AMAZON_S3)** and **requireSignedUrls** is true.",
                "default": 3600
              },
              "privateKey": {
                "type": "string",
                "description": "The CloudFront Private Key file is required when the **cdnType** is set to **Amazon Web Services(AMAZON_S3)** and **requireSignedUrls**\nparameter is enabled. This private key is used for signing URLs for restricted access to CloudFront-distributed content. \nThe private key allows secure URL generation for signed URLs, ensuring that only authorized users can access certain content.\nThe key must be uploaded in one of the following formats:\n- **.pem**: A Privacy-Enhanced Mail (PEM) file containing the private key in base64 encoded format.\n- **.der**: A Distinguished Encoding Rules (DER) encoded file, which is a binary format for the private key.\nThe uploaded file should be kept secure, as it provides the ability to generate signed URLs with access to protected content.\n",
                "format": "byte"
              }
            }
          }
        ]
      },
      "CloudDistributionPointTestConnection": {
        "required": [
          "hasConnectionSucceeded",
          "message"
        ],
        "type": "object",
        "properties": {
          "hasConnectionSucceeded": {
            "type": "boolean",
            "description": "Indicates whether the connection to the cloud distribution point was successful. \nIf `true`, the connection was successful. If `false`, the connection failed.<br/>\nPossible values are:<br/>\nfalse <br/>\ntrue\n",
            "readOnly": true,
            "default": false
          },
          "message": {
            "type": "string",
            "description": "A message detailing the result of the connection test. This could be a success message\nor an error message if the connection failed.\n",
            "readOnly": true,
            "example": "Cannot contact JCDS"
          }
        }
      }
    },
    "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": {}
          }
        }
      }
    }
  }
}
```