Delete Fields
Use this endpoint to delete multiple fields related to the specified object.
Method
DEL
URL
/v2/<object_full_identifier>/fields
Parameters
One of the following is required:
identifiers: List of full identifiers of fields to delete.
uuids: List of UUIDs of fields to delete.
Response Content Type
application/json
Input Format
In the identifiers parameter, you can specify a comma-separated list of the full identifiers of the fields to delete, for example:
DEL https://<server>/<instance>/metadata/io_showcase/fields?identifiers=io_field1,io_field2,....,io_fieldn
Input Examples
Following is an example DEL request to delete io_test_field and io_test_rel_field:
DEL https://<server>/<instance>/metadata/io_showcase/fields?identifiers=io_test_field,io_test_rel_field
Alternatively, you can specify a comma-separated list of UUIDs of the fields to delete in the uuids parameter. Following is an example DEL request that uses this parameter:
DEL https://<server>/<instance>/metadata/io_showcase/fields?uuids=field uuid1,field uuid2,....,field uuidn
* 
In both cases, the request body is ignored if sent.
Response
If all fields are successfully deleted, the response is HTTP Status Code 200. This request is transactional. Therefore, if any fields are not deleted successfully, the full transaction is rolled back and the corresponding error code and message is received.
Error Response Messages
HTTP Status Code
Error Message
400
None of the required parameters was specified
500
Error Deleting Records. Exception={...}
For more information:
Was this helpful?