Remove one or many docs from a group
- This method call must be authenticated and signed.
- This method requires "write" permission on docs.
URL
HTTP POSThttp://api.ipernity.com/api/group.docs.remove
Parameters
api_key
|
∗ |
Your api_key.
|
group_id
|
∗ |
The Group ID you wish to remove a document from.
|
doc_id
|
∗ |
A document ID or a comma separated list of document IDs. (List may contain a maximum of 20 IDs)
|
∗ : this parameter is required.
Only an administrator or a moderator of a group may remove a document not owned by himself.
Response
<group group_id="123" total="219" removed="2" skipped="1">
<doc doc_id="1235658" removed="1"/>
<doc doc_id="1235659" removed="1"/>
<doc doc_id="1235660" removed="0"/>
</group>
Error codes
| 1 |
Group not found |
| 2 |
Documents not found |
|
| 100 |
API Key is missing |
| 101 |
API Key is invalid |
| 102 |
Invalid format |
| 103 |
Method not found |
| 104 |
Signature missing |
| 105 |
Signature is invalid |
| 106 |
Token missing |
| 107 |
Token invalid |
| 108 |
Account closed |
| 109 |
Action blocked |
| 110 |
Insufficient permissions |
| 111 |
IP not allowed |
| 112 |
Application Quota Error |
| 113 |
Client IP Quota Error |
| 120 |
HTTP POST required |
| 121 |
Invalid SOAP envelope |
| 122 |
Invalid XML-RPC envelope |
| 130 |
OAuth protocol version unsupported |
| 131 |
OAuth parameters are missing |
| 132 |
OAuth Clock skew |
| 133 |
OAuth Nonce is invalid |
| 134 |
OAuth Timestamp is invalid |
| 135 |
OAuth Signature method unsupported |
| 500 |
Service error |
| 501 |
Maintenance mode |
| 503 |
Service unavailable |
Changelog
- 2008-12-01: Method created.
See also