curl --request POST \
--url https://api.revong.com/api/v1/preferences \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"type": "<string>",
"referenceType": "<string>",
"data": [
"<array>"
],
"desc": "<string>",
"reference": "<string>",
"global": true,
"default": true,
"autoFit": true
}
'USER: true SERVICE ACCOUNT: true
curl --request POST \
--url https://api.revong.com/api/v1/preferences \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"type": "<string>",
"referenceType": "<string>",
"data": [
"<array>"
],
"desc": "<string>",
"reference": "<string>",
"global": true,
"default": true,
"autoFit": true
}
'Bearer token with Platform JWT token or API Key.
You must specify name.
Type of preference
You must specify reference type (e.g. users/groups etc.), allowed pattern: "a-zA-Z-0-9_".
You must provide details.
You can specify desc.
Id of reference
You can specify if preference is shared with everyone else ('false' by default).
You can specify if preference is default ('false' by default).
You can specify if accessing to this preference force 'Auto fit fill columns' when accessing ('false' by default).
OK.