UDDI API - delete_business
Description − The delete_business API call is used to remove one or more business registrations (e.g. registered businessEntity data) and all direct contents from a UDDI registry.
Upon successful completion, a dispositionReport message is returned with a single success indicator.
Version 2.0 Syntax
<delete_business generic = "2.0" xmlns = "urn:uddi-org:api_v2" > <authInfo/> <businessKey/> [<businessKey/>...] </delete_business>
authInfo − This required argument is an element that contains an authentication token. Authentication tokens are obtained using the get_authToken API call.
businessKey − one or more uuid_key values that represent specific instances of known businessEntity data.
If any error occurs in processing this API call, a dispositionReport element will be returned to the caller within a SOAP Fault. The following error number information will be relevant −
E_invalidKeyPassed − It signifies that one of the uuid_key values passed did not match with any known businessKey values. No partial results will be returned. If any businessKey values passed are not valid or if the message contained multiple instances of a uuid_key value, this error will be returned. The key that caused the error will be clearly indicated in the error text.
E_authTokenExpired − It signifies that the authentication token value passed in the authInfo argument is no longer valid because the token has expired.
E_authTokenRequired − It signifies that the authentication token value passed in the authInfo argument is either missing or is not valid.
E_userMismatch − It signifies that one or more of the uuid_key values passed refers to data that is not controlled by the individual who is represented by the authentication token. The key causing the error will be clearly indicated in the error text.