Up - API Reference - Home
Requires JWT
Remove a metadata field from a field.
If the metadata field name wasn't set on this field, the field is returned unchanged.
POST /api/p/<project gid>/fields/metadata/clear
Authorization: Bearer <JWT>
{
"field": "<field gid>",
"name": "group.code",
}
field
gid of the field to remove the metadata field from
name
name for the metadata field
Authorization: <JWT>
{
"success": true,
"result": {
"field": "<field gid>"
},
"data": {
"fields": {
"<field gid>": {…}
}
}
}
field
the field with the metadata field removed - this is usually a working copy.
fields
Field info with name, type, options, metadata.
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