- Auth
- ForgotPassword
- Profile
- Family Members
- Address
- Languages
- Products
- Permissions
- Config
- Appointment Schedule
- Test Tags
- Test Parameters
- Category
- Device
- File
- Appointment
- Reports
- Staff
- Patient
- Notifications
Delete Test Parameters
Developing
DELETE
/api/service/v1/test-parameters/{id}
Request
Path Params
id
string
required
Header Params
Accept
string
optional
Example:
application/json
Content-Type
string
optional
Example:
application/json
practice-code
string
optional
Example:
DEFAULT
Authorization
string
optional
Example:
{{token}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://afyahealth.doctodoor.com:5600/api/service/v1/test-parameters/' \
--header 'Accept: application/json' \
--header 'practice-code: DEFAULT' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3YjJkZmZlNWJmMjdlMzk1NTUzMjE0MyIsImVtYWlsIjoiZGVlcC5tYXJzb25pYUBwbGVuYXJ0ZWNoLmNvbSIsInN1YiI6IjY3YjJkZmZlNWJmMjdlMzk1NTUzMjE0MyIsImlhdCI6MTc0MTc4MjA4NCwiZXhwIjoxNzQ5NTU4MDg0fQ.KAMsweSbJPDxpLijKdjgp3YEFauw8KYLLumCBpqQfAA' \
--header 'Content-Type: application/json'
Responses
🟢200Success
application/json
Body
error
boolean
required
status_code
integer
required
message
string
required
data
object
required
tags
array [object {5}]
required
is_deleted
integer
required
title
object
required
description
object
required
service_category
object
required
image
object
required
created_at
string
required
updated_at
string
required
id
string
required
Examples
{
"error": false,
"status_code": 200,
"message": "Test deleted successfully.",
"data": {
"tags": [
{
"is_deleted": 0,
"title": {
"en": "en title edit",
"ar": "ar title edit"
},
"created_at": "2025-01-16T06:49:07.666Z",
"updated_at": "2025-01-16T06:49:07.666Z",
"id": "6788abe33fd2424ae6a4db87"
}
],
"is_deleted": 1,
"title": {
"en": "this is en title edited",
"ar": "this is ar title"
},
"description": {
"en": "this is en title edited",
"ar": "this is ar title"
},
"service_category": {
"parent": null,
"is_deleted": 0,
"title": {
"en": "english title editred",
"ar": "ar title"
},
"type": "service",
"color": "#FF7689",
"created_at": "2025-01-16T08:53:44.021Z",
"updated_at": "2025-01-16T08:53:44.021Z",
"id": "6788c918d798f459e8c8d7c5"
},
"image": {
"original_name": "Screenshot from 2025-01-27 12-28-57.png",
"file_name": "c1db738b-8e3c-4af2-ad43-297cceea1740_1737970715849_Screenshot_from_2025-01-27_12-28-57.png",
"path": "https://afyahealth.doctodoor.com.s3.us-east-1.amazonaws.com/c1db738b-8e3c-4af2-ad43-297cceea1740_1737970715849_Screenshot_from_2025-01-27_12-28-57.png",
"size": 3002,
"mimeType": "image/png",
"created_at": "2025-01-27T09:38:37.457Z",
"updated_at": "2025-01-27T09:38:37.457Z",
"id": "6797541deb8b1053d7d780c1",
"media_url": "https://d3ektmb2e4ajpb.cloudfront.net/c1db738b-8e3c-4af2-ad43-297cceea1740_1737970715849_Screenshot_from_2025-01-27_12-28-57.png"
},
"created_at": "2025-01-29T09:37:32.375Z",
"updated_at": "2025-01-29T09:40:24.035Z",
"id": "6799f6dc0fcdc42e5b3c0f08"
}
}