API Endpoints
Profiles
Delete profile

Base URL

DELETE
https://v1.empr.cloud/api/v1/folders/{folderId}/profiles/{profileId}

Request

Request Headers

Headers
Название
Тип / Значение
Описание
X-Token
String
Authorization token

URL Parameters

Query parameters
Название
Тип / Значение
Описание
folderId
UUID
ID of the folder where the profile is located
profileId
UUID
ID of the profile to be deleted

Request Examples

1const url =
2  "https://v1.empr.cloud/api/v1/folders/{folderId}/profiles/{profileId}"; 
3
4const options = {
5  method: "DELETE",
6  headers: {
7    "X-Token": "Your Token", 
8  }, 
9};
10
11fetch(url, options)
12  .then((response) => {
13    response.json().then((data) => {
14      console.log(data);
15    });
16  })
17  .catch((error) => {
18    console.error(error);
19  });

Response

Response Data

Response
Название
Тип / Значение
Описание
total
String
Total number of profiles in the folder
items
Array
Array of objects with profile data
owner
UUID/String
ID of the profile owner
id
UUID/String
ID of the profile
folder_id
UUID/String
ID of the folder where the profile is located
proxy_id
UUID/String
ID of the proxy assigned to the profile
profile_name
String
Profile name
profile_notes
String
Profile notes
profile_status
Array
Status assigned to the profile
profile_tags
Array
Tags assigned to the profile
browser
String
Browser engine
platform
String
Profile operating system
fingerprint
Object
Object with browser profile fingerprint
running
String
Indication of a running profile
pinned
String
Indication of a pinned profile
worktime
String
Total profile work time
last_run_at
String
Date of the last profile run
created_at
String
Profile creation date
updated_at
String
Profile update date
recovered
String
Indication of a profile recovered from the trash
is_received
String
Indication of a received profile
app_version
String
Internal information
proxy
String
Data about the proxy assigned to the profile
usage
Object
Object with tariff usage data

Response Example

1{
2 "data": {
3    "owner": "5a55b193-84aa-47ce-b377-c651412adf44",
4    "id": "9bd9b8cf-edaf-42b3-a9cc-fc68ff0b7f77",
5    "folder_id": "6e15ecb4-d46d-416c-ac5c-4777bd89a2d8",
6    "proxy_id": null,
7    "profile_name": "Matthew Nelson",
8    "profile_notes": "",
9    "profile_status": null,
10    "profile_tags": [],
11    "browser": "chrome",
12    "platform": "macos",
13    "fingerprint": {},
14    "running": false,
15    "pinned": false,
16    "worktime": 0,
17    "last_run_at": null,
18    "created_at": "2023-12-21T12:42:46.483047Z",
19    "updated_at": "2023-12-21T12:42:46.483047Z",
20    "recovered": 0,
21    "is_received": false,
22    "app_version": "0.0.0",
23    "proxy": null
24  },
25  "usage": {
26    "users": 0,
27    "profiles": 1
28  }
29}
30