Account Management API
URL endpoints
Update URL‑endpoint
Note: This API is currently in beta.
Updates the URL‑endpoint identified by id and returns the updated object.
put/v1/accounts/url-endpoints/{id}
Path parameters
idstring required
Unique identifier for the URL-endpoint. This is generated by ImageKit when you create a new URL-endpoint. For the default URL-endpoint, this is always default.
Unique identifier for the URL-endpoint. This is generated by ImageKit when you create a new URL-endpoint. For the default URL-endpoint, this is always default.
Request body
Example request
{
"description": "My custom URL endpoint",
"urlPrefix": "product-images",
"origins": [
"origin-id-1"
]
}Response
URL‑endpoint updated successfully.
Example response
{
"description": "My custom URL endpoint",
"urlPrefix": "product-images",
"origins": [
"origin-id-1",
"origin-id-2"
],
"urlRewriter": {
"preserveAssetDeliveryTypes": true
}
}