PATCH /tenants/{tenantId}/product/{product} – Updates an existing tenant of a specific product.
Headers:
Authorization: Bearer <access_token>
Content-Type: application/json or application/x-www-form-urlencoded
Body:
Path Parameters:
Query Parameters:
endpointUrl
200 OK
400
401
404
500
{ "error": "Detailed error message here"} Copy
{ "error": "Detailed error message here"}
PATCH /tenants/tenant123/product/script{ "endpointUrl": "https://api.new.example.com"} Copy
PATCH /tenants/tenant123/product/script{ "endpointUrl": "https://api.new.example.com"}
{ "tenantId": "tenant123", "product": "script", "domain": "domain.com", "endpointUrl": "https://api.new.example.com",} Copy
{ "tenantId": "tenant123", "product": "script", "domain": "domain.com", "endpointUrl": "https://api.new.example.com",}
The API Gateway event containing the request.
A Promise resolving to an API Gateway-compatible response.
PATCH /tenants/{tenantId}/product/{product} – Updates an existing tenant of a specific product.
📥 Request
Headers:
Authorization: Bearer <access_token>(required)Content-Type: application/json or application/x-www-form-urlencoded(required)Body:
Path Parameters:
Query Parameters:
Remarks
endpointUrlfield can be updated. Other fields are immutable.📤 Response
200 OK– Returns a JSON-stringified Tenant object.❗ Errors
400401404500Error Response Format
📦 Examples
📥 Request
📥 Response