Usuń użytkownika
DELETE
/api/v3/Users/{userId}
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Users/1';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
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/Users/1 \ --header 'Authorization: Bearer <token>'Wymaga roli administratora.
User can only call this endpoint when he has role ADMINISTRATOR
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”userId
wymagane
integer format: int64
Id of the user which should be removed
Odpowiedzi
Dział zatytułowany „Odpowiedzi”No Content
Server Error

