User Guide
50 Chapter 4: Action Reference
group-membership-update
Description
Adds one or more principals to a group, or removes one or more principals from a group.
To update multiple principals and groups, specify multiple trios of
group-id, principal-id,
and
is-member parameters. For more information, see “About parameters” on page 15.
Parameters
accesskey
The access key for your account.
Note: The accesskey parameter is required only in Breeze 4.0; it is not required for Breeze 4.1. If you
include this parameter in Breeze 4.1, it is ignored.
group-id
The ID of the group for which you’re updating the membership.
principal-id The ID of the principal whose membership status you want to update.
is-member Indicates whether the principal is added to (true) or deleted from (false) the
group.
Filters
Results cannot be filtered or sorted.
Returned elements
None.
Sample results
<results>
<status code="ok" />
</results>
login
Description
Logs in a user.
After logging in, you must read and store the cookie called BREEZESESSION, which can be
found in the HTTP headers of the XML results. You must then include that cookie’s value in
every subsequent request that you make as that logged-in user. For more information, see “About
security” on page 17.
The following example parses the HTTP headers to store the cookie and then indicates how it
can be passed on for all subsequent requests.
To log in to Breeze and save the session cookie, use the following code:
login="john@example.com"
password="abcdefg"
accesskey="0123456789101112"
baseurl="http://breeze.example.com/"