_delete

Deletes a chosen Form Block using its ID.

Parameter

id

The ID of the Form Block to be deleted.

Example

FM_api('FormBlock_delete', [
        'id' => '12345'
    ]
);

Results

On Success

{"ok":1}

On Failure

If the "id" parameter is not set or has a value less than 1:

{"error":"missing or invalid parameter: id"}

If the "id" parameter does not match the ID of an existing Form Block:

{"error":"Form Block does not exist"}

Last updated