Using Connect Enterprise Web Services |
|||
| Action reference > principals-delete | |||
Breeze 4 and Breeze 5; Connect Enterprise Web Services 6
Removes one or more principals, either users or groups. To delete principals, you must have Administrator privilege.
To delete multiple principals, specify multiple principal-id parameters. All of the principals you specify will be deleted.
The principal-id can identify either a user or group. If you specify a user, the user is removed from any groups the user belongs to. If you specify a group, the group is deleted, but the users who belong to it are not.
http://server_name/api/xml?action=principals-delete &principal-id=integer&session=BreezeSessionCookieValue
|
Name |
Type |
Required |
Description |
|---|---|---|---|
principal-id
|
Integer |
Y |
The ID of a user or group you want to delete. |
session
|
String |
N |
The value of the |
Results cannot be filtered or sorted.
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code=allowedValue />
</results>
|
Element |
Attribute |
Type |
Description |
|---|---|---|---|
results
|
|
Container |
All results the action returns. |
status
|
|
Empty, with attributes |
The status of the response. |
|
code
|
Allowed value |
A code indicating the response status (see status). |
https://example.com/api/xml?action=principals-delete
&principal-id=2006339311&principal-id=2006339323
<?xml version="1.0" encoding="utf-8" ?>
<results>
<status code="ok" />
</results>
principal-info, principal-list, principal-list-by-field, principal-update
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/breeze/6/xml_api/04b_acti.htm
Comments
Anhyzer said on Apr 19, 2007 at 12:53 PM :