Przejdź do głównej zawartości

Usuń skrypt automatyczny

DELETE
/api/v1/automaticScripts/{id}
curl --request DELETE \
--url https://twoja-instancja-ajs-api.enterprise.sellrocket.pl/api/v1/automaticScripts/1 \
--header 'Authorization: Bearer <token>'

Usuwa skrypt automatyczny. Operacja asynchroniczna – zwraca zadanie.

id
wymagane
integer format: int64

Id of the automatic script.

Success

object
id
integer format: int64
createdAt
string format: date-time
updatedAt
string format: date-time
payload
nullable
result
nullable
status
string
Dozwolone wartości: New InProgress Completed Failed
command
string
nullable

Not Found

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties