Delete a membership

Request

Deletes a membership with a specified organization ID and user ID.

Security
SecretApiKey or JWT
Path
organizationIdstring, <= 50 characters(ResourceId)required

Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID.

Example:4f6cf35x-2c4y-483z-a0a9-158621f77a21
userIdstring, <= 50 characters(ResourceId)required

ID of the user.

Example:4f6cf35x-2c4y-483z-a0a9-158621f77a21
curl -i -X DELETE \
  https://www.rebilly.com/_mock/catalog/all/memberships/4f6cf35x-2c4y-483z-a0a9-158621f77a21/4f6cf35x-2c4y-483z-a0a9-158621f77a21 \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

Membership deleted.

Headers
X-RateLimit-Limitinteger

Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.

Example:3600
X-RateLimit-Remaininginteger

Remaining number of rate limit tokens for this request within the rate limit period. For example, in the sandbox environment, rate limits for non-GET endpoints are set at 3000 requests per 10 minutes.

Example:3600
Response
No content