Mark,
The ClearPass API configuration guide has the information to handle the guest user accounts. Followed the same for endpoints with appropriate tags and got it working.
Deleting endpoint using tips-api requires two steps.
1.Do deleteConfirm to fetch the identifier(element_id).
2.And then delete the endpoint using the returned identifier.
Refer the below examples,
Post the request to https://<cppm_ip>/tipsapi/config/deleteConfirm/Endpoint
curl -sk -o - -u apiadmin:<password> -d '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TipsApiRequest xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
<TipsHeader version="6.4"/>
<Filter entity="Endpoint">
<Criteria fieldName="macAddress" filterString="112233445566" match="contains"/>
</Filter>
</TipsApiRequest>'
Response will look like,
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><TipsApiResponse xmlns="http://www.avendasys.com/tipsapiDefs/1.0"><TipsHeader exportTime="Fri Feb 05 16:56:44 IST 2016" version="6.4"/><StatusdCount>1</EntityMaxRecordCount><Endpoints><Endpoint macAddress="112233445566" status="Unknown"><element-id>Endpoint_112233445566_s7m</element-id></Endpoint></Endpoints></TipsApiResponse>
Use the returned element id and Post the delete request to https://<cppm_ip>/tipsapi/config/delete/Endpoint
curl -sk -o - -u apiadmin:<password> -d '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TipsApiRequest xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
<TipsHeader version="6.4"/>
<Delete>
<Element-Id>Endpoint_112233445566_s7m</Element-Id>
</Delete>
</TipsApiRequest>'
Response will look like,
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TipsApiResponse xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
<TipsHeader exportTime="Fri Feb 05 17:13:24 IST 2016" version="6.4"/><StatusCode>Success</StatusCode>
<LogMessages>
<Message>Endpoint deleted successfully</Message>
</LogMessages>
</TipsApiResponse>