Skip to main content

Delete Fields

This text provides an example of how to call Delete fields interface.

Example: delete fields

Assuming you have a datasheet, you would like to delete one of these fields.

Your action steps below:

  1. Get your API Token.(How to get it)

  2. Get your Space ID.(How to get it)

  3. Get the ID of the datasheet.(How to get it)

  4. Get the ID of the field that needs to be deleted.(How to get it)

  5. Open the terminal on your computer and execute the following code to send a query request to the server (Assuming spaceId is spcjXzqVrjaP3,datasheetId is dstNiC6R9MryevVaCQ, fieldId is fld4SRHNAugJq) :

    curl -X DELETE \
    "https://aitable.ai/fusion/v1/spaces/spcjXzqVrjaP3/datasheets/dstNiC6R9MryevVaCQ/fields/fld4SRHNAugJq" \
    -H "Authorization: Bearer {Your API Token}"

  6. Upon success, the server will return the following JSON data.

    For the meaning of each parameter in the response, please check the API Reference

       {
    "success": true,
    "code": 200,
    "message": "SUCCESS",
    "data": {}
    }