Deletes a Rule.
delete
/gsadmin/v1/{appName}/content/{contentCollectionFolder}/{Rule}
Request
Supported Media Types
- application/json
Path Parameters
- Rule
-
Type:
string
Required:true
Specifies the name of rule.- appName
Type:string
Required:true
Specifies the name of your application, for example, Discover.- contentCollectionFolder
Type:string
Required:true
Specifies the name of content collection folder.Security- basicAuth
-
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
202 Response
Rule successfully deleted.
Body
Root Schema : Response
Type:
object
- message
-
Type:
string
- status
-
Type:
integer
(int32
)
Examples
The following example shows how to delete the rule configuration named aboutus
:
curl -H "Authorization:Bearer <token>" -X DELETE http://host:port/gsadmin/v1/cloud/content/additionalContent/aboutus