Skip to content

Area: Developers

DELETE

Delete a profile

Path
/profiles
Auth
Secret key · server only
DELETE
/profiles
curl --request DELETE \
--url https://releva.ai/api/v0/profiles \
--header 'Authorization: Bearer <token>'

Erases the profile found by each identifier you pass, together with every profile merged into it. The profile is gone immediately; a later write with the same email creates a new, empty profile. 202 is returned even when nothing matched or no parameter was given, so check with GET if you need confirmation. phoneNumber must be in international form here (no national-format conversion).

profileId
string
email
string format: email
phoneNumber

+ followed by the international dialling code and number, digits only (2-32 characters).

string
/^\+\d{1,31}$/

International form, + encoded as %2B.

Accepted for asynchronous processing.

Media typeapplication/json
object
0

Example

{}

Authentication or validation error.

Media typeapplication/json
object
message
required

Human-readable error. Several validation errors are joined with a space.

string

Examples

{
"message": "The 'email' field must be a valid e-mail."
}

The domain is disabled.

Media typeapplication/json
object
message
required

Human-readable error. Several validation errors are joined with a space.

string

Example

{
"message": "Domain is disabled. Please reach out to support@releva.ai to enable it."
}

Unexpected server error.

Media typeapplication/json
object
message
required

Human-readable error. Several validation errors are joined with a space.

string

Example

{
"message": "An internal error occurred."
}