Delete a file property
delete
/rest/ofscCore/v1/users/{login}/{propertyLabel}
This operation deletes the specified file property of the specified user.
Request
Path Parameters
-
login(required): string
The unique identifier of the user account in Oracle Field Service.
-
propertyLabel(required): string
The label of a custom property. This custom property must be of type 'file'.
Response
Supported Media Types
- application/json
- application/schema+json
204 Response
This response code indicates that the operation completed successfully. This operation does not return elements in the response body.
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 file property of a user by submitting a DELETE request on the REST resource using cURL.
curl -u '<CLIENT-ID>@<INSTANCE-NAME>:<CLIENT-SECRET>' -X DELETE 'https://<instance_name>.fs.ocs.oraclecloud.com/rest/ofscCore/v1/users/john.smith/uploadedPic'
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 204 No Content