Interface TenantApi


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

      • list

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