| Field | Type | Create | Update | Default | Notes |
|---|---|---|---|---|---|
| description | string | Optional | Yes | - | |
| name | string | Optional | Yes | - |
| Field | Type | Notes |
|---|---|---|
| command | string | |
| id | int | The unique identifier for the registrationToken |
| image | string | |
| registrationUrl | string | |
| token | string |
Please read more about the common resource fields. These fields are read only and applicable to almost every resource. We have segregated them from the list above.
CreatePOST: /v1/registrationTokens
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
-H 'Content-Type: application/json' \
-d '{
"description": "string",
"name": "string"
}' 'http://${RANCHER_URL}:8080/v1/registrationTokens'