Status API › Components
Rename a group
Renames a group everywhere it is named: its components, open_groups, the
subscribers who follow it and its logo, in one step. to: null (or "")
takes the components out of any group. Answers with the page's components.
Permission (API-key scope): status:component:write.
Authorization
bearerAuth(status:component:write)apiKeyHeader(status:component:write)
Parameters
Path parameters
pageIDstring (uuid) requiredThe status page's id (a UUID).
Request body required
fromstring requiredtostring | null
Responses
200
The page's components.
dataarray of Component requiredShow Component properties
idstring (uuid) requiredorg_idstring requiredpage_idstring (uuid) requirednamestring requireddescriptionstringsourcestring requiredmonitor_idstringThe Uptime monitor it mirrors (sourceuptime_monitor).current_statusComponentStatus requiredpositioninteger requiredgroupstringThe group (product) it appears under; absent when ungrouped.shown_statusComponentStatusIn the page's component list only, and only when a live incident or maintenance shows it differently fromcurrent_statuson the public page.shown_becausestringThe live incident's or maintenance's title that makes visitors seeshown_status.created_atstring (date-time) requiredupdated_atstring (date-time) required
successboolean required
400
from is missing or to is longer than 200 characters (VALIDATION_ERROR).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
404
No such item, or one the caller cannot see (NOT_FOUND).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
409
A page per group is on and this would make more than 3 groups (PRODUCT_LIMIT).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
Example request
curl -X PUT 'https://evohub.io/api/v1/pages/3f6c2a1e-8b4d-4f7a-9c21-5d0e7a9b1c42/groups/rename' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"to": "Core platform",
"from": "Platform"
}'