Delete a form

delete

/rest/ofscMetadata/v1/forms/{label}

This operation deletes the form with the specified label.

Note: Forms that are in use cannot be deleted.

Request

Path Parameters
Back to Top

Response

Supported Media Types

204 Response

This section describes the 204 status response for this operation.

Default Response

This section describes the default error response for this operation.
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top

Examples

The following example shows how to delete a form by submitting a DELETE request on the REST resource using cURL:

cURL command Example

The following shows an example of the cURL command.

curl -u 'clientId@instance:clientSecret' -X DELETE --url 'https://<instance_name>.fs.ocs.oraclecloud.com/rest/ofscMetadata/v1/forms/hit_inv'

Response Header Example

The following shows an example of the response header.

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 03 Mar 2016 16:28:18 GMT
Content-Type: application/json; charset=utf-8
Connection: close

Response Body Example

The following shows an example of the response body in JSON format.

HTTP/1.1 204 No content
Back to Top