com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Adding a Tenant via REST API

Overview

DescriptionUsed to add a tenant to Private PaaS.
URL/admin/tenant
HTTP MethodPOST
Request/Response Format application/json

Sample request

Sample Tenant Definition
{
      "admin":"admin",
      "firstname":"Frank",
      "lastname":"Myers",
      "adminPassword":"admin123",
      "tenantDomain":"frank.com",
      "email":"foo@bar.com",
      "active":"true"
}

For information on the parameter definitions, see the Sample Tenant Definition.

Example

Use case: Add a tenant with the name "Frank Myers",  admin password " admin123", tenant domain "frank.com", email "foo@bar.com" and username "admin". The example request is as follows:

curl -X POST -H “Content-Type: application/json” -d @request -k -v -u admin:admin https://<SM_HOST>:9443/stratos/admin/tenant

Sample response

{
  "stratosAdminResponse": {
    "message": "Successfully added new tenant with domain frank.com"
  }
} 
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.