Up - API Reference - Home
Requires JWT.
Rename a fieldlist.
POST /api/p/<project gid>/fieldlists/update
Authorization: Bearer <JWT>
{
"fieldlist": "350988c6-22ce-4a74-a2b7-1c25b23eea27",
"name": "Documentation Fieldlist"
}
Authorization: <JWT>
{
"success": true,
"result": {
"project": "<project gid>"
},
"data": {
"cc.projects": {
"<project gid>": {
…,
"options": {
"fieldlists": {
"31cbd8ac-4f13-4ac3-8924-752ea94d1c65": "Stentor Webshop",
"350988c6-22ce-4a74-a2b7-1c25b23eea27": "Documentation Fieldlist"
},
…
},
…
}
}
}
}
project
the current project.
cc.projects
Project updated with renamed fieldlist.
400
Bad request - missing parameters or wrong type or value
401
Unauthorized - missing or expired JWT
403
Forbidden - not a member of this project