Skip to content

deleteMembershipDetails ​

Deletes existing UserIdentifer record for a User based on the API Key which must be linked to a specific membership-related Global Identifier e.g. PSANZ

Request ​

http
DELETE /rest/company/membership/details/{userId}

Headers ​

HeaderRequiredDescription
x-nextinteract-company-api-keyYesAdmin-specific API key UUID provided to company

Parameters ​

userId - Number, path parameter (required) - user id for which the membership details will be saved

Response ​

200 OK ​

A successful response should evaluate the Status Code 200. However, an empty JSON is returned as per below.

json
{

}

Errors ​

ExceptionDescription
WSInvalidParameterExceptionSee Error Definitions
WSRecordNotFoundExceptionSee Error Definitions
WSCompanyApiKeyNotActiveExceptionSee Error Definitions
WSCompanyNotActiveExceptionSee Error Definitions
WSUserNotFoundExceptionSee Error Definitions
WSUserNotActiveExceptionSee Error Definitions
WSConnectionStatusNotActiveExceptionSee Error Definitions
WSMembershipServiceExceptionSee Error Definitions