Create tenant

Create a tenant and setup a unique agency endpoint.
The agency will be set as an issuer.

Service Clients (SDKs)

This endpoint can be accessed using one of our service clients as follows.

For more information on how to use our service clients, see our Service Clients (SDKs) guide.

TenantContract tenant = await _providerClient.CreateTenantAsync(new TenantParameters {
  IssuerSeed = issuerSeed,
  Name = tenantName,
  ImageUrl = imageUrl,
  NetworkId = networkId,
  EndorserType = endorserType
});
let tenant = await providerClient.createTenant({
  issuerSeed: issuerSeed,
  name: tenantName,
  imageUrl: imageUrl,
  networkId: networkId,
  endorserType: endorserType
});
tenant = provider_client.create_tenant({
  "issuerSeed": issuer_seed,
  "name": tenant_name,
  "imageUrl": image_url,
  "networkId": network_id,
  "endorserType": endorser_type
})
body = Provider::Models::TenantParameters.new
body.issuer_seed = issuer_seed
body.name = tenant_name
body.image_url = image_url
body.network_id = network_id
body.endorser_type = endorser_type
tenant = provider_client.create_tenant(body)
Language
Authentication
Header
Response
Click Try It! to start a request and see the response here!