Delete an owner or moderator from a stand-alone forum programmatically
Use the HTTP DELETE command to remove a person from the owner or moderator role of a forum. Everyone has member-level access to forums; you cannot use this procedure to prevent a person from having member-level access to a forum.Only the owner of a stand-alone forum can demote a person from owner or moderator access to member access.
See Authenticating requests for information about how to authenticate the request.
Table 1. Atom API request details
Method Resource URI Input and output representations DELETE member Value of the href attribute of <link> element that has a rel="edit" attribute value for each entry in the members feed. none
Input
None.
Output
None.Returned HTTP headers
HTTP/1.1 204 No Content
Indicates that the member was successfully removed from the members list (and no content is returned).
- HTTP/1.1 400 Bad Request
- HTTP/1.1 403 Forbidden
- HTTP/1.1 404 Not Found
Request:
DELETE /forums/atom/acl?forumUuid=1A1GC0A80221E5C54FA8D3BE4D1E1B000032& userid=51FGC0A80221E5C54FA8D3BE4D1E1B000055 Host: www.example.com Authorization: Basic xxxResponse:
HTTP/1.1 200 OK
Parent topic
Work with stand-alone forum membersRelated reference
Member entry content
});