Email change flow
Email changes are currently disabled
POST
/email/changeCode Examples
curl -X POST "https://platform.antfly.io/api/v1/email/change" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://platform.antfly.io/api/v1/email/change", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_TOKEN"
}
});
const data = await response.json();Responses
{
"error": "string",
"message": "string"
}Email changes are currently disabled
POST
/email/confirmCode Examples
curl -X POST "https://platform.antfly.io/api/v1/email/confirm" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://platform.antfly.io/api/v1/email/confirm", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_TOKEN"
}
});
const data = await response.json();Responses
{
"error": "string",
"message": "string"
}