Members
Delete multiple reps
Soft-deletes up to 100 reps in one request, addressed by their integer rep id. Ids that do not match a rep in the company, or that could not be removed, are left out of the response, so compare the returned ids with the ones you sent. Requires a company admin-tier Bearer token with members manage permission.
DELETE
/
api
/
v2025-06
/
reps
/
bulk
Delete multiple reps
curl --request DELETE \
--url https://api.fluid.app/api/v2025-06/reps/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reps": [
{
"id": 48231
},
{
"id": 48236
}
]
}
'import requests
url = "https://api.fluid.app/api/v2025-06/reps/bulk"
payload = { "reps": [{ "id": 48231 }, { "id": 48236 }] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reps: [{id: 48231}, {id: 48236}]})
};
fetch('https://api.fluid.app/api/v2025-06/reps/bulk', 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/reps/bulk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_POSTFIELDS => json_encode([
'reps' => [
[
'id' => 48231
],
[
'id' => 48236
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v2025-06/reps/bulk"
payload := strings.NewReader("{\n \"reps\": [\n {\n \"id\": 48231\n },\n {\n \"id\": 48236\n }\n ]\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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/reps/bulk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"reps\": [\n {\n \"id\": 48231\n },\n {\n \"id\": 48236\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/reps/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reps\": [\n {\n \"id\": 48231\n },\n {\n \"id\": 48236\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"reps": [
{
"id": 48231
},
{
"id": 48236
}
],
"meta": {
"request_id": "b9d2e7f4-5a1c-4386-8e0b-3f6a2d9c1e57",
"timestamp": "2026-09-22T09:18:03Z"
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}⌘I
Delete multiple reps
curl --request DELETE \
--url https://api.fluid.app/api/v2025-06/reps/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reps": [
{
"id": 48231
},
{
"id": 48236
}
]
}
'import requests
url = "https://api.fluid.app/api/v2025-06/reps/bulk"
payload = { "reps": [{ "id": 48231 }, { "id": 48236 }] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reps: [{id: 48231}, {id: 48236}]})
};
fetch('https://api.fluid.app/api/v2025-06/reps/bulk', 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/reps/bulk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_POSTFIELDS => json_encode([
'reps' => [
[
'id' => 48231
],
[
'id' => 48236
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v2025-06/reps/bulk"
payload := strings.NewReader("{\n \"reps\": [\n {\n \"id\": 48231\n },\n {\n \"id\": 48236\n }\n ]\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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/reps/bulk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"reps\": [\n {\n \"id\": 48231\n },\n {\n \"id\": 48236\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/reps/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reps\": [\n {\n \"id\": 48231\n },\n {\n \"id\": 48236\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"reps": [
{
"id": 48231
},
{
"id": 48236
}
],
"meta": {
"request_id": "b9d2e7f4-5a1c-4386-8e0b-3f6a2d9c1e57",
"timestamp": "2026-09-22T09:18:03Z"
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}