Skip to main content
POST
/
v2
/
tenants
/
{userId}
Create a new tenant for a user.
curl --request POST \
  --url https://test.didxtech.com/me-wallet/api/v2/tenants/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "userId": "<string>",
    "rootAgentName": "<string>"
  },
  "links": {
    "self": "<string>",
    "first": "<string>",
    "last": "<string>",
    "prev": "<string>",
    "next": "<string>",
    "related": "<string>"
  },
  "meta": {},
  "errors": [
    {
      "detail": "<string>",
      "id": "<string>",
      "status": "<string>",
      "code": "<string>",
      "title": "<string>",
      "source": {
        "pointer": "<string>",
        "parameter": "<string>"
      },
      "meta": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string
required

Response

201 - application/json

Tenant created successfully.

data
object
required
meta
object
errors
object[]