newsletter
Restore a deleted newsletter email
Changed onRestore a deleted newsletter email by its ID.
patch/newsletter-subscription/restore/{Id}
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Idstring uuid required
ID of the newsletter to restore
Response
Newsletter email restored successfully
Example response
{
"status": "success",
"status_code": 200
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking