* Delete metadata or activities * * @method delete * @memberof Personalization.prototype * @param {object} resource - personalized resource endpoint i.e "follow_recommendations" * @param {object} options - Additional options * @return {Promise<PersonalizationAPIResponse<StreamFeedG
(resource: string, options: Record<string, string> = {})
| 80 | * @example client.personalization.delete('follow_recommendations', {foo: 'bar', baz: 'qux'}) |
| 81 | */ |
| 82 | delete(resource: string, options: Record<string, string> = {}) { |
| 83 | return this.client.delete<PersonalizationAPIResponse<StreamFeedGenerics>>({ |
| 84 | url: `${resource}/`, |
| 85 | serviceName: 'personalization', |
| 86 | qs: options, |
| 87 | token: this.client.getPersonalizationToken(), |
| 88 | }); |
| 89 | } |
| 90 | } |
nothing calls this directly
no test coverage detected