Participant Service
Participant Type - Attributes ...

Update custom attributes configurations for a participant type

1min
PUT
https://{tenantSubdomain}/core/api/v2/participants/participant-types/{participantTypePluralName}/config/attributes

API to update custom attributes configuration of a participant type specified by participantTypeId. The configuration includes: 1. List of custom attributes (names) 2. Data type of each custom attribute 3. Validation of custom attribute values, if required, for each custom attribute. Important: ➊ If the attribute is already defined for the participant type- The validation rules will get updated for the attribute. ➋ If the attribute is not defined for the participant type - it is added as a new custom attribute for the participant type. ➌ On successful execution of the API, all updates will take effect immediately for the participant type.

Path Parameters
participantTypePluralName
*
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
X-COREOS-ORIGIN-TOKEN
*
X-COREOS-CALLBACK-SECRET
Body Parameters
body
*
Description
Update core attributes config
All Of
AttributesConfig +
attributes
Responses
202
OK - The request Accepted.
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
*
404
Not found - The server can not find the requested resource.
error
*
request
*
Curl
JS
Ruby
Python
Responses
202
400
401
404