Up - API Reference - Home
Requires JWT
Remove a child definition from a definition.
Note: you cannot modify child definitions for an extended definition.
POST /api/p/<project gid>/definitions/childdefinitions/remove
Authorization: Bearer <JWT>
{
"definition": "<definition gid>",
"childdefinition": "<childdefinition gid>"
}
definition gid of the definition that holds the child definition
childdefinition gid of the child definition that is removed
Authorization: <JWT>
{
"success": true,
"result": {
"definition": "<definition gid>"
},
"data": {
"definitions": {
"<definition gid>": {…}
},
"layouts": {
…
}
}
}
definition the definition with the removed child definition - this is a working copy.
definitions Definition info with name, classes, fields.
layouts Layout info with hierarchy, if the layout changed to a working copy.
400 Bad request - missing parameters or wrong type or value
401 Unauthorized - missing or expired JWT
403 Forbidden - not a member of this project
422 Unprocessable entity - can't work with this item