Remove an opt-out added through the API
DELETE
/api/v1/opt-outs/{phoneNumber}Bearer key, test or live
Parameters
phoneNumberstring · e164pathrequiredResponses
200The opt-out was removed.404The opt-out is absent or inaccessible.409The recipient opted out themselves; only their START reply removes it.curl -X DELETE 'https://staging.useline.io/api/v1/opt-outs/+447700900456' \ -H "Authorization: Bearer $LINE_API_KEY"