Participant Service
Participant Type - State Machi...

Update an Entity

1min
PUT
https://{tenantSubdomain}/core/api/v2/participants/config/state-machine/entities/{entityCode}

This API will update an entity. Events specified in the request will be replaced for the entity.

Path Parameters
entityCode
*
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
Body Parameters
body
*
Description
Update entity
description
*
events
*
isEnabled
Responses
200
OK - The request Succeeded.
data
request
400
Bad request - The server is unable to process the request due to something that is perceived to be a client error
error
*
request
*
401
Unauthorized - The client's identity is unknown to the server. Verify that you are accessing the correct tenant and that your client ID and client secret are valid on that tenant.
error
*
request
*
503
Server error - The server is not ready to handle the request. This could be due to maintenance downtime or system resource constraints.
error
*
request
*
Curl
JS
Ruby
Python
Responses
200
400
401
503