Deletes a Rule.
delete
/gsadmin/v1/{appName}/content/{contentCollectionFolder}/{Rule}
Request
Supported Media Types
- application/json
Path Parameters
- Rule
-
Type:
stringRequired:trueSpecifies the name of rule.- appName
Type:stringRequired:trueSpecifies the name of your application, for example, Discover.- contentCollectionFolder
Type:stringRequired:trueSpecifies the name of content collection folder.Security- basicAuth
-
Type:
basicDescription: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