Create a tag. Do not send guid; the server assigns one. Tag names must be unique per account.
| Method | POST |
| Url | https://downdar.com/api/v1/tags/create |
name
req
|
String, max 255 characters. Must be unique per account. |
color_hex
opt
|
Hex color like #336699. Defaults to #999999 when omitted or empty. |
ok
|
Always true on success. |
tag
|
Tag object. Fields below apply to tag. |
capacity
|
Tag quota for the account. |
rate_limit
|
Rate limit state for the tier this endpoint consumes. Present on every successful response. |
guid
|
Tag id. |
name
|
Tag name. |
color_hex
|
Hex color like #336699. |
monitor_count
|
Monitors with this tag. |
heartbeat_count
|
Heartbeats with this tag. |
limit
|
Maximum tags allowed on your plan. |
used
|
Tags currently in use. |
remaining
|
Tags you can still create. |
tier
|
Rate tier this endpoint counts against (1-5). |
cost
|
Units consumed by this request against the tier window. |
timeframe
|
Rolling limit window: second, minute, hour, or day. |
limit
|
Maximum units allowed in the timeframe for this tier on your plan. |
used
|
Units already used in the current window. |
remaining
|
Units left before this tier returns HTTP 429. |