Remove a tag from many servers
curl --request DELETE \
--url https://my.server.express/api/v1/services/tags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"<string>"
],
"name": "<string>"
}
'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ids: ['<string>'], name: '<string>'})
};
fetch('https://my.server.express/api/v1/services/tags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/services/tags"
payload = {
"ids": ["<string>"],
"name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"name": "<string>",
"results": [
{
"id": "<string>",
"ok": true,
"error": "<string>"
}
]
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Services
Remove a tag from many servers
Takes one tag off each listed server the caller can operate. Removing a tag a server doesn’t have is a success. The request carries a JSON body.
DELETE
/
v1
/
services
/
tags
Remove a tag from many servers
curl --request DELETE \
--url https://my.server.express/api/v1/services/tags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"<string>"
],
"name": "<string>"
}
'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ids: ['<string>'], name: '<string>'})
};
fetch('https://my.server.express/api/v1/services/tags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/services/tags"
payload = {
"ids": ["<string>"],
"name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"name": "<string>",
"results": [
{
"id": "<string>",
"ok": true,
"error": "<string>"
}
]
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Authorizations
bearerAuthapiToken
Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh. A session satisfies every API scope.
Body
application/json
Distinct service ids (duplicates are collapsed), 1–100 per request.
Required array length:
1 - 100 elementsRequired string length:
1 - 64Lowercase slug (trimmed and lowercased first), e.g. prod or eu-west-2. Max 32 characters.
Maximum string length:
32Pattern:
^[a-z0-9]+(?:-[a-z0-9]+)*$