Mailrelay API Reference

Replace a subscriber's tags

PUT /subscribers/{subscriber_id}/tags

Replaces the subscriber's full tag set with the given tags. An empty array removes all tags. Tags are matched by name and must already exist.

Parameters

NameTypeDescription
subscriber_id integer ID of the subscriber
tags array Tag names.

Responses

StatusDescription
404 Couldn't find record with provided ID.
422 A validation error occurred. Check the response body for more information.
200 Success
401 The API key wasn't sent or is invalid
500 An internal error happened. Try again later.