Rename a project

patch/v1/tenants/{tenant_id}
Requires an API key

The team's owners and admins (projects:manage) and Ivora administrators. Changes the charging tenant's name everywhere it is shown; its ID, chargers and keys are unchanged.

Path parameters

  • tenant_idintegerRequired

Request body

  • namestringRequired
    The project's name, as the dashboard and the charging core show it.
    1–200 characters

Returns · 200

  • idintegerRequired
    The project's tenant ID, used in /v1/tenants/{tenant_id} routes.
  • namestring | nullRequired
  • team_idstring | nullRequired
    The team (billing team) the project belongs to; null before its first billing change.
  • team_namestring | null
  • charger_urlsboolean
    Always false: per-project charger URLs are not available in production.
    Default false
  • connection_base_urlstring | null
    Always null: a project has no charger URL of its own, since per-project charger URLs are not available in production.
PATCH /v1/tenants/{tenant_id}
curl --fail-with-body -X PATCH "https://api.ivoracharge.com/v1/tenants/1042" \
  -H "Authorization: Bearer $IVORA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "bay-01"
}'
Response · 200
{
  "id": 1,
  "name": "bay-01",
  "team_id": "team_0123456789abcdef",
  "team_name": "string",
  "charger_urls": false,
  "connection_base_url": "https://app.example.com/return"
}
Try it is not available here yetRequests from this page are off until the production API at https://api.ivoracharge.com is public. Use the code samples from your application server; Ivora grants production access. Keys are created in Developer tools.