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
| Name | Type | Description |
|---|---|---|
name | string | New display name. Must be unique within your account. |
Example
$ curl -X PATCH https://api.replicant.space/v1/replicants/8AFE4482 \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "bob"}' {
"name": "bob",
"replicant_code": "8AFE4482",
"status": "updated"
}