메인 콘텐츠로 건너뛰기
DELETE
/
users
delete-users
curl --request DELETE \
  --url https://api.notifly.tech/users \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": "example_project_1234567890abcdef",
  "userId": "user_abc123",
  "userProperties": {
    "email": "delete@example.com",
    "phone_number": "+821012345678"
  }
}'
{
  "data": 1
}
다중 유저 삭제한번에 여러 유저를 삭제할 수도 있습니다. 같은 형식의 Object들을 Array 형태로 호출해주시면 됩니다.
  • 최대 삭제 수: 1회 호출당 최대 1,000명의 사용자까지만 삭제 가능합니다.
  • 삭제 기준: 유저 ID, 이메일, 전화번호를 기준으로 삭제할 수 있습니다.
  • 전화번호 형식: 전화번호는 정확히 일치해야 합니다. (010-1234-1234 != 01012341234)

Authorizations

Authorization
string
header
required

POST /authenticate로 발급받은 인증 토큰

Body

application/json
projectId
string
required

노티플라이 팀에서 제공하는 프로젝트 ID입니다. 설정 > 프로젝트 정보에서 확인하실 수 있습니다.

userId
string

삭제할 유저의 ID

userProperties
object

삭제할 유저 속성 (이메일, 전화번호 기반 삭제 지원)

Response

성공적인 유저 삭제입니다

data
integer

삭제된 행 수