Delete a store credential
DELETE
/v1/credentials/{id}
const url = 'https://api.extport.dev/api/v1/credentials/example';const options = {method: 'DELETE', headers: {cookie: 'extport_session=<extport_session>'}};
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://api.extport.dev/api/v1/credentials/example \ --cookie extport_session=<extport_session>Refused while a publish target still references it — remove the target first.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “ Responses ”OK
Not found
Still in use by a publish target