Update endpoint.
ROLES: ENDPOINT_WRITE,ENDPOINT_ADMIN USER: true SERVICE ACCOUNT: true
curl --request PUT \
--url https://api.revoengine.com/api/v1/endpoints/{endpointId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-revo-mutation-review: <x-revo-mutation-review>' \
--data '{
"version": 123
}'const options = {
method: 'PUT',
headers: {
'x-revo-mutation-review': '<x-revo-mutation-review>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({version: 123})
};
fetch('https://api.revoengine.com/api/v1/endpoints/{endpointId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/endpoints/{endpointId}"
payload = { "version": 123 }
headers = {
"x-revo-mutation-review": "<x-revo-mutation-review>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Authorizations
Bearer JWT token or API Key (sk-*).
Headers
Path Parameters
Body
Version.
Saved execution authority and currentUser behavior. Null restores inheritance.
Show child attributes
Show child attributes
{
"mode": "INHERIT",
"currentUser": "INHERIT"
}
Name.
Category.
Description.
Replacement resource metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use.
Component identifier.
Portable exact component revision identity. Set null to follow latest.
Endpoint execution timeout in seconds. The effective maximum is resolved at runtime from the current instance quota.
x >= 160
Normalized path (e.g. /api/v1/users/:userId, /_/auth, or /users/@)
1024Method.
GET, POST, PUT, PATCH, DELETE Endpoint runtime options. Custom low-code values live only under "input". For a new component-backed endpoint with a body, prefer popResult and set it to one exact visible output key for its raw value; use the complete visible result map only when explicitly required, or set noResult for an empty body. legacyResults is deprecated and must not be used for new endpoints.
Show child attributes
Show child attributes
Response
OK.
curl --request PUT \
--url https://api.revoengine.com/api/v1/endpoints/{endpointId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-revo-mutation-review: <x-revo-mutation-review>' \
--data '{
"version": 123
}'const options = {
method: 'PUT',
headers: {
'x-revo-mutation-review': '<x-revo-mutation-review>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({version: 123})
};
fetch('https://api.revoengine.com/api/v1/endpoints/{endpointId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/endpoints/{endpointId}"
payload = { "version": 123 }
headers = {
"x-revo-mutation-review": "<x-revo-mutation-review>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)
