Delete staff account

DELETE https://app.ecwid.com/api/v3/{storeId}/staff/{staffAccountId}

Required access scopes

Your app must have the following access scopes to make this request: delete_staff

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

staffAccountId

string

Internal staff account ID.

Headers

The Authorization header is required.

Header
Format
Description

Authorization

Bearer secret_ab***cd

Access token of the application.

Response JSON

A JSON object with the following fields:

Field
Type
Description

deleteCount

number

The number of deleted items that defines if the request was successful. One of: 1 if the item was deleted, 0 if the item was not deleted.

Last updated

Was this helpful?