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
-
label(required): string
Minimum Length:
1
Maximum Length:40
The label of the form.
Response
Supported Media Types
- application/json
- application/schema+json
204 Response
This section describes the 204 status response for this operation.
Default Response
This section describes the default error response for this operation.
Root Schema : Error
Type:
Show Source
object
-
detail:
string
The detailed description of this error.
-
status:
string
The HTTP status code of this error.
-
title(required):
string
The brief description of this error.
-
type(required):
string
The URL of the web page containing more details about this error.
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