Was this page helpful?

Remove a User from a Group

    Description of the code sample

    The following command removes user "foo" from group "bar":

    Sample Code

    curl -u admin:password -X DELETE -i http://mindtouch.address/@api/deki/groups/=bar/users/=foo

    Implementation notes 

    curl flags

    -u
    Provides external user authentication.
    -X
    Specifies the HTTP request method.
    -i
    Outputs the HTTP response headers. Useful for debugging.

    Permissions

    ADMIN permission is required to execute above command.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by