Tenants


Get tenant id of the user

GET https://apis.wso2.com/api/am/admin/v0.16/tenant-info/{username}

This operation is to get tenant id of the provided user

OAuth 2.0 Scope

Not required

Examples

Parameters

Type Name Description Schema Default
Path

username

required

The state represents the current state of the tenant Supported states are [ active, inactive]

String

Responses

HTTP Code Description Schema

200

OK. Tenant id of the user retrieved.

TenantInfo

404

Not Found. Requested user does not exist.

Error

406

Not Acceptable. The requested media type is not supported

Error