Retrieve the charging tenant of your access grant
post/v1/me/tenant
Requires an API key
Developer tools calls this automatically on entry. Requires a signed-in confirmed user, not an API key. Repeated and concurrent calls return the same tenant. Returns the tenant of your access grant without upgrading viewer permissions; accounts without a grant receive 403 and no tenant is created. No caller-supplied tenant ID is accepted.
Returns · 200
- tenant_idintegerRequiredYour stable default CSMS tenant ID; use it in /v1/tenants/{tenant_id} routes.Greater than 0
- rolesarray of stringRequiredCurrent permissions. Existing viewers are not promoted during onboarding.
POST /v1/me/tenant
curl --fail-with-body -X POST "https://api.ivoracharge.com/v1/me/tenant" \
-H "Authorization: Bearer $IVORA_API_KEY"Response · 200
{
"tenant_id": 1042,
"roles": [
"string"
]
}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.