Rename

Your replicant woke up. Saw the device code didn't match the one they remembered. Guess it's time for a new name again...

Endpoint

PATCH /v1/replicants/{code}

Body parameters

NameTypeDescription
namestringNew display name. Must be unique within your account.

Example

PATCH /v1/replicants/{code} 200 OK
$ curl -X PATCH https://api.replicant.space/v1/replicants/8AFE4482 \
    -H "Authorization: Bearer $API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"name": "bob"}'
response response
{
  "name": "bob",
  "replicant_code": "8AFE4482",
  "status": "updated"
}