Custom components
Update a component instance
Changes a component instance and returns it under the component’s name.
PATCH
cURL
Updates the instance with this
id in the component with this dashed uuid. The body has one key, the component’s name, holding the fields to change, such as attributes. The updated instance comes back under the same key with a new version.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set
host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.Authorizations
An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.
Path Parameters
The component's dashed uuid, not its cmp_ id. It is the uuid the component has in the GET /settings/components listing.
The component instance's id, as returned when it is created.
Body
application/json
One key, the component's name, holding the fields to change.
Response
202 - application/json
The updated instance, under the component's name.
One key, the component's name, holding the instance.