Create a unit tenant underneath customer
POST {{base_url}}/api/2/tenants
Request Body
{"name"=>"Postman Demo Unit", "parent_id"=>"{{customer_tenant_id}}", "kind"=>"unit"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"id":"20f8d3ea-ad03-4317-bc7d-d4387b013d00","brand_uuid":"7bbee631-da82-47e1-8774-2843f4e81236","pricing_mode":"production","mfa_status":"disabled","internal_tag":null,"has_children":false,"ancestral_access":true,"kind":"unit","deleted_at":null,"customer_id":null,"owner_id":null,"name":"Postman Demo Unit","enabled":true,"default_idp_id":"11111111-1111-1111-1111-111111111111","contact":{"id":"4e2efe86-81e9-4ff6-86ca-c3b214931669","email":"","title":null,"country":null,"updated_at":"2021-05-20T07:31:10+00:00","address2":null,"city":null,"industry":null,"organization_size":null,"lastname":"","address1":null,"phone":null,"zipcode":null,"website":null,"email_confirmed":null,"firstname":"","aan":null,"state":null,"created_at":"2021-05-20T07:31:10+00:00"},"updated_at":"2021-05-20T07:31:10","customer_type":"default","parent_id":"71026519-65d4-4843-863a-f6058a667520","language":"en","update_lock":{"owner_id":null,"enabled":false},"brand_id":7545,"contacts":[],"version":1,"created_at":"2021-05-20T07:31:10"}