
Get ID for caller's tenant. The caller's ID is determined based on their token presented to the system during session initialization. This is useful as a bootstrapping function to determine the ID to use for API calls such as creating a project or listing projects.
This call has no restrictions.
Tenant Identifier
Field | Description | Type | Notes |
<tenant_info> | |||
<id> | Tenant URI | URI | |
<name> | Tenant name | String | |
<link> | Link to itself (tenant) | ||
</tenant_info> |
GET https://192.168.0.0:4443/tenant HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <tenant_info> <id>urn:storageos:TenantOrg:c3f022ff-5e3a-49ca-a5ef-b0aaa74cebb3:</id> <name>Provider Tenant</name> <link href="/tenants/urn:storageos:TenantOrg:c3f022ff-5e3a-49ca-a5ef-b0aaa74cebb3:" rel="self"/> </tenant_info>