Deletes user_profile
DELETE /api/v1/user/profile/{id}
Operation id: delete__api_v1_user_profile_id_
Description
Deletes an existing UserProfileDTO record in the user_profile table
Tags: UserProfile
Parameters
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | id of existing UserProfile record |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
tenant_id | string | Yes | tenant ID |
Security
- PhoenixToken-Authorization (apiKey)
- PhoenixToken-Authorization
Responses
200 — OK
Content type: application/json
400 — Bad Request
Content type: application/json
500 — Internal Server Error
Content type: application/json
Response models
200 — OK
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
num_rows_deleted | integer | No |
{
"type": "object",
"properties": {
"num_rows_deleted": {
"type": "integer"
}
}
}
400 — Bad Request
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
code | integer | No | |
message | string | No |
{
"type": "object",
"properties": {
"code": {
"type": "integer",
"example": 0
},
"message": {
"type": "string",
"example": "Success"
}
}
}
500 — Internal Server Error
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
code | integer | No | |
message | string | No |
{
"type": "object",
"properties": {
"code": {
"type": "integer",
"example": 0
},
"message": {
"type": "string",
"example": "Success"
}
}
}