cURL
curl --request DELETE \ --url https://api.perscom.io/{version}/users/{user}/fields/batch \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "resources": [ 123 ] } '
{ "data": [ { "id": 123, "name": "<string>", "key": "<string>", "type": "<string>", "cast": "<string>", "description": "<string>", "placeholder": "<string>", "default": "<string>", "help": "<string>", "required": true, "rules": "<string>", "readonly": true, "hidden": true, "options": [ {} ], "options_type": "array", "options_model": "<string>", "label": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The API version to use.
v1
v2
A list of resource IDs
OK
Show child attributes
Supports HTML.
array
model
If the options type is a model, this is the resource that should populate the options field.
The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?