Method DeleteInfoStore
DeleteInfoStore(String, String)
Delete an info store
Declaration
void DeleteInfoStore(string connectionId, string infoStoreId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | infoStoreId | The info store id. See also Id |
Examples
POST http://YourServerName/InfoShare/Json/Common/DeleteInfoStore
Example for delete a infostore.{
"connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a",
"infoStoreId": "61623db8-67e0-e911-a94a-00155d290a08"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Cannot delete InfoStore as long as it still contains documents (10209) |
ServiceException | Can not delete {ObjectType} {ObjectName} {ObjectId} because it is still in use in {ObjectType} {ObjectName} {ObjectId}. (10233) |