v1

latestOpenAPI 3.0.3AGPL-3.0-or-later2026-07-172717248.3 KB
api

Delete an option

Returns the id of the deleted option This endpoint allows CORS requests

delete/ocs/v2.php/apps/forms/api/v3/forms/{formId}/questions/{questionId}/options/{optionId}

Path parameters

formIdinteger required

id of form

questionIdinteger required

id of question

optionIdinteger required

id of option to update

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Response

the id of the deleted option