Skip to content

Instantly share code, notes, and snippets.

@dingus9
Created October 25, 2013 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dingus9/7151674 to your computer and use it in GitHub Desktop.
Save dingus9/7151674 to your computer and use it in GitHub Desktop.
none
curl -iXPUT -H "X-Auth-Token: <REDACTED - valid customer auth token>" -H "Content-Type: application/json" https://monitoring.api.rackspacecloud.com/v1.0/500694/entities/enbm7RGWHg -d '{"label": "piranha01"}'
HTTP/1.1 400 Bad Request
Date: Fri, 25 Oct 2013 08:53:45 GMT
Content-Type: application/json; charset=UTF-8
X-RateLimit-Limit: 50000
X-RateLimit-Remaining: 49507
X-RateLimit-Window: 24 hours
X-RateLimit-Type: global
X-Response-Id: .rh-pnCO.h-ord1-maas-prod-api1.r-gKVCgFlG.c-1488591.ts-1382691225421.v-ad1fc41
X-LB: ord1-maas-prod-api1
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: chunked
{
"type": "badRequest",
"code": 400,
"message": "Validation error for key 'label'",
"details": "Only the following fields are editable on Rackspace Cloud Server entities: metadata, agent_id",
"txnId": ".rh-pnCO.h-ord1-maas-prod-api1.r-gKVCgFlG.c-1488591.ts-1382691225421.v-ad1fc41"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment