curl --request POST \ --url 'https://YOURSITE.konstant.ly/openapi/v1/custom/attributes/users' \ --header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv' \ --header 'Content-Type: application/json' \ --data '[ { "name": "Division", "type": 3, "apiId": "division", "position": 1, "isRequired": true, "isVisible": true, "isEditable": true, "extraData": [ { "position": 1, "value": "Sales" }, { "position": 2, "value": "Marketing" } ] }, { "name": "Start Date", "type": 2, "apiId": "start_date", "position": 2, "isRequired": true, "isVisible": true, "isEditable": true } ]'
[ { "id": 1, "name": "Division", "type": 3, "apiId": "division", "position": 1, "isRequired": true, "isEditable": true, "extraData": [ { "id": 1, "position": 1, "value": "Sales" }, { "id": 2, "position": 2, "value": "Marketing" } ] }, { "id": 2, "name": "Start Date", "type": 2, "apiId": "start_date", "position": 2, "isRequired": true, "isEditable": true, "extraData": null } ]
Update custom user attributes with new configurations
Documentation IndexFetch the complete documentation index at: https://docs.konstantly.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.konstantly.com/llms.txt
Use this file to discover all available pages before exploring further.
Show Option properties
Show Error object properties
Was this page helpful?