CellService.deleteCellThis is a featured page

HTTP MethodURIReturns
POST/CellService/deleteCell.doA cell, including cell metadata, the cell's current revision, and its tags.
Overview:
Deletes a cell.
Common Parameters

Required Parameters:
ticket
The ticket specifies the person deleting the cell. The user must be assigned the moderator role to delete cell content.

output

Currently only api output is supported for this call.

cell.cellId
The cell to delete.

Optional Parameters:

revision.editNote
Edit note.
Example Request ( required parameters in red ):
Example Response:




boe_wetpaint
boe_wetpaint
Latest page update: made by boe_wetpaint , Feb 20 2009, 1:03 PM EST (about this update About This Update boe_wetpaint Added ticket as required parameter - boe_wetpaint

21 words added

view changes

- complete history)
Keyword tags: None
More Info: links to this page
Started By Thread Subject Replies Last Post
mattkaufman Unauthorized? 1 Nov 4 2008, 1:22 PM EST by boe_wetpaint
Thread started: Nov 4 2008, 11:52 AM EST  Watch
I'm trying to delete a cell and I keep getting "UNAUTHORIZED" returned. Below are the parameters that I am passing in. I am getting the same problem with lock/unlock cell. Does anybody know what I am doing wrong? The key, namespace and ticket are correct - I'm using them in other calls. Any help would be much appreciated. Thanks!

$url=$this->wetpaint_api_host."CellService/deleteCell.do";
$submit_vars["key"] = $this->wetpaint_developer_key;
$submit_vars["ns"] = $this->wetpaint_developer_content_namespace;
$submit_vars["cell.cellId"] = $cellid;
$submit_vars["ticket"]=$this->wetpaint_ticket;
$submit_vars["output"] = "api";
Do you find this valuable?    
Keyword tags: deletecell unauthorized
Show Last Reply
idris revision.version? 1 Jul 23 2008, 4:40 PM EDT by kevin_wetpaint
Thread started: Jul 23 2008, 3:11 PM EDT  Watch
Why is the revision.version mandatory in this call? What if I just want to delete an entire cell, not just one revision?
Do you find this valuable?    
Keyword tags: None
Show Last Reply
Showing 2 of 2 threads for this page