Interface TenantApi


@Consumes("application/json") @Path("/tenants") public interface TenantApi
Provides access to the Keystone Tenant API.
  • Method Details

    • list

      @GET PagedIterable<Tenant> list()
      The operation returns a list of tenants which the current token provides access to.
    • list

    • get

      @GET @Path("/{id}") @Nullable Tenant get(@PathParam("id") String tenantId)
      Retrieve information about a tenant, by tenant ID
      Returns:
      the information about the tenant
    • getByName

      @GET @Nullable Tenant getByName(@QueryParam("name") String tenantName)
      Retrieve information about a tenant, by tenant name

      NOTE: currently not working in openstack ( https://bugs.launchpad.net/keystone/+bug/956687 )

      Returns:
      the information about the tenant