Retrieve a list of tenants and their details.
Executed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
[- {
- "id": 1,
- "name": "example",
- "displayName": "Example",
- "status": "Ready",
- "tenantId": 123,
- "createdAt": "2020-01-01T00:00:00Z",
- "updatedAt": "2020-01-02T00:00:00Z",
- "deletedAt": null
}
]The tenant to create.
Created
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource already exists
unexpected error
unexpected error
{- "name": "name",
- "email": "first@run.ai",
- "password": "string",
- "contractType": "normal",
- "role": "System administrator",
- "metricStore": {
- "read": {
- "auth": {
- "basic": {
- "username": "string",
- "password": "string"
}
}, - "headers": {
- "X-Scope-OrgID": "id"
}
}, - "write": {
- "auth": {
- "basic": {
- "username": "string",
- "password": "string"
}
}, - "headers": {
- "X-Scope-OrgID": "id"
}
}
}
}{- "tenant": {
- "id": 1,
- "name": "example",
- "displayName": "Example",
- "status": "Ready",
- "tenantId": 123,
- "eulaSigningUser": {
- "email": "user@tenant",
- "date": "2020-01-01T00:00:00Z",
- "ip": "192.168.10.210",
- "contract_type": "normal"
}, - "created_at": "2020-01-01T00:00:00Z",
- "updated_at": "2020-01-02T00:00:00Z",
- "deleted_at": null
}, - "additionalData": {
- "tenantDomain": "tenant.test.run.ai",
- "testUser": {
- "tenant-test@run.ai": "Abc!23"
}, - "customerUser": {
- "user@tenant": "Abc!23"
}
}
}Executed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "id": 1,
- "name": "example",
- "displayName": "Example",
- "status": "Ready",
- "tenantId": 123,
- "createdAt": "2020-01-01T00:00:00Z",
- "updatedAt": "2020-01-02T00:00:00Z",
- "deletedAt": null
}tenant uid that was deleted.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "uid": "string"
}