English
English
Appearance
English
English
Appearance
https://api.repliz.com/public/account/tagRemove a tag from every account that has it. The accounts themselves stay connected; only the tag goes.
Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Replizaccount:writeWith an operator API key, only the accounts assigned to the operator change.
| Parameter | Type | Required | Description |
|---|---|---|---|
tag | string | Yes | The tag to remove, case-insensitive, sent in the query, for example ?tag=Brand%20A. |
curl -X DELETE "https://api.repliz.com/public/account/tag?tag=Brand%20A" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"import axios from 'axios';
const response = await axios.delete('https://api.repliz.com/public/account/tag', {
params: { tag: 'Brand A' },
auth: {
username: 'YOUR_ACCESS_KEY',
password: 'YOUR_SECRET_KEY',
},
});
console.log(response.data);const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');
const params = new URLSearchParams({ tag: 'Brand A' });
const response = await fetch(`https://api.repliz.com/public/account/tag?${params}`, {
method: 'DELETE',
headers: {
Authorization: `Basic ${credentials}`,
},
});
const data = await response.json();
console.log(data);// No content returned on success{
"code": 404,
"message": "tag not found"
}{
"code": 401,
"message": "unauthorized"
}