Delete a member type, or archive it when it has data
Deletes the member type and its settings (availabilities, form audiences, displayables, site shares) when nothing else references it. When members, orders, processed carts, enrollment packs, discount rules or theme audiences do, archives it instead and keeps every row. Seeded system types (customer, preferred, rep) are always archived, never deleted; a type that is the only audience of a form, or shares a mobile page or navigation with other rules, is archived too; repeated requests preserve the first archival timestamp. The server decides under a lock, and the result field says which happened. Refused with 422 (error.details.type in_use, default_shopper_required or system_defined) for the default shopper type, the last active shopper type, open carts or kept enrollment packs that target it, and system types other than customer, preferred and rep. Requires admin tier followed by member_types.manage permission; root admins bypass the permission check.
curl --request DELETE \
--url https://api.fluid.app/api/v2025-06/member-types/{slug} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v2025-06/member-types/{slug}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v2025-06/member-types/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/v2025-06/member-types/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v2025-06/member-types/{slug}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.fluid.app/api/v2025-06/member-types/{slug}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/member-types/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"member_type": {
"id": "0199a8f0-2d6b-7a18-8e45-c3b17f9d2a06",
"name": "Assistant Regional Manager",
"slug": "assistant-to-the-regional-manager",
"system_defined": false,
"rep_eligible": true,
"capabilities": {
"rep_style": true
},
"archivable": true,
"archived_at": "2026-09-24T17:03:52Z",
"removal": null,
"pricing_tier": {
"id": "0192a4c1-7e2b-7e9a-a3c7-81d4f5b2e069",
"name": "Wholesale",
"tier_level": 2,
"system": true,
"archived_at": null,
"member_type_count": 2
}
},
"result": "archived",
"status": 200,
"meta": {
"request_id": "8c3f5a17-4d2e-4b90-b7a1-6e0d9c2f5b33",
"timestamp": "2026-09-24T17:03:52Z"
}
}{
"message": "<string>"
}{
"message": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}Authorizations
Path Parameters
Response
Member type deleted (the member_type is as it was before the delete), archived, or already archived with its original timestamp preserved.
curl --request DELETE \
--url https://api.fluid.app/api/v2025-06/member-types/{slug} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v2025-06/member-types/{slug}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v2025-06/member-types/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/v2025-06/member-types/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v2025-06/member-types/{slug}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.fluid.app/api/v2025-06/member-types/{slug}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/member-types/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"member_type": {
"id": "0199a8f0-2d6b-7a18-8e45-c3b17f9d2a06",
"name": "Assistant Regional Manager",
"slug": "assistant-to-the-regional-manager",
"system_defined": false,
"rep_eligible": true,
"capabilities": {
"rep_style": true
},
"archivable": true,
"archived_at": "2026-09-24T17:03:52Z",
"removal": null,
"pricing_tier": {
"id": "0192a4c1-7e2b-7e9a-a3c7-81d4f5b2e069",
"name": "Wholesale",
"tier_level": 2,
"system": true,
"archived_at": null,
"member_type_count": 2
}
},
"result": "archived",
"status": 200,
"meta": {
"request_id": "8c3f5a17-4d2e-4b90-b7a1-6e0d9c2f5b33",
"timestamp": "2026-09-24T17:03:52Z"
}
}{
"message": "<string>"
}{
"message": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}