Usuń wybrane tagi z obiektu
DELETE
/api/v3/Tags/{target}/delete
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Tags/example/delete';const options = { method: 'DELETE', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"tags":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Tags/example/delete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "tags": [ "example" ] }'Usuwa tylko tagi przekazane w treści żądania.
Deletes tags passed in request from existing tags for given target
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”target
wymagane
string
udpl of the target
e.g. udpl://smerp-api/api/v1/UserEvents/343
Treść żądania
Dział zatytułowany „Treść żądania”Example
{ "tags": [ "startAsync202:udpl://ajs-api/api/v1/automaticScripts/start/343:post" ] }
object
tags
Array<string>
Examplegenerated
{ "tags": [ "example" ]}object
tags
Array<string>
Examplegenerated
{ "tags": [ "example" ]}object
tags
Array<string>
Examplegenerated
{ "tags": [ "example" ]}Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Bad Request
Typ treściapplication/json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
