- 🐶 Walk through Apidog
- Sample APIs
- Browser
- Profile
Delete profile
POST
/api/local-api/profile/delete
Request
Body Params application/json
profileId
string
required
Example
{
"profileId": "66276638afc2800a42c85acf"
}
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 POST 'http://localhost:8000/api/local-api/profile/delete' \
--header 'Content-Type: application/json' \
--data-raw '{
"profileId": "66276638afc2800a42c85acf"
}'
Responses
🟢200Success
application/json
Body
success
boolean
required
code
integer
required
moreInfo
object
required
env
string
required
data
object
required
success
boolean
required
code
integer
required
moreInfo
object
required
data
object
required
Examples
{
"success": true,
"code": 200,
"moreInfo": {
"env": "production"
},
"data": {
"success": true,
"code": 200,
"moreInfo": {
"env": "PROD"
},
"data": {
"n": 1,
"nModified": 1,
"ok": 1
}
}
}
🟢200Fail
Modified at 2024-12-09 02:44:30