Skip to main content

 Version 5

Legacy documentation for PageSeeder v5

delete group resources

/groups/{group}/resources/delete [POST]

Description

Delete a resource on the specified project.

This service has been deprecated in PageSeeder 5.8 and is scheduled to be removed.

Use Service: /groups/{group}/resources [DELETE] instead.

The location parameter must be the absolute location of the resource to delete from the web app folder. For example:

  • /WEB-INF/foo/document.xsl
  • /WEB-INF/foo.bar/my/document.js
  • /woconfig/foo/style/test.css

Only resources which are not part of the default Kit can be deleted.

Parameters

NameDescriptionRequiredTypeDefault
locationThe path to the resource to delete relative to the root of the Web container yesstring

Permission

Only members who have the permission to manage the project can invoke this service.

Response

For files:

<file name="[name]"
      path="[path]"
      type="file"
      media-type="[media type]"
      status="deleted"/>

For folders:

<file name="[name]"
      path="[path]"
      type="folder"
      status="deleted"/>

Error Handling

No specific errors expected for this service.

This service returns non-standard error messages. This might change in the near future.

Created on , last edited on