Create a Tenant
POST/tenants
Creates a customer tenant under your account. Only integrator accounts can create tenants. Your account becomes the parent and integrator of the new tenant, so your API key can act on it by sending the returned tenant_id as Agc-Tenant-Id. Only the account details below are accepted; every other configuration setting starts at its default and is managed from the Agility Portal. Optionally, send api_user to also create a user with the api role, to be sent as Agc-User-Id when acting on the new tenant.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 429
- 500
Tenant created
Bad Request. Returned when the body fails schema validation, or when driver_license_verify_doc_liveness or driver_license_verify_selfie is enabled without driver_license_verify.
Unauthorized
Your account is not an integrator.
The subdomain is already taken, or a request with the same Idempotency-Key is still in progress.
Too Many Requests
Internal Server Error