Create Customer API

This API creates a customer record

Request
POST oauth_uri/customers
Table 1. Header Parameters
Name Required Details
Authorization Yes Bearer <access_token>
Content-Type Yes application/json
Body
[
            {
            "id": "asyl_cust52930",
            "tenants": [
            "ABCD",
            "apitest",
            "testmeta3",
            "ab88fq17",
            "anton"
            ],
            "externalProviderConfig": [],
            "description": "A king",
            "passwordPolicy": {
            "passwordRules": [
            {
            "type": ".LengthPRule",
            "min": 4,
            "max": 8
            },
            {
            "type": ".UsernamePRule",
            "matchBackwards": false,
            "ignoreCase": true
            },
            {
            "type": ".HistoryPRule",
            "lastPasswordVerifyCount": 2
            }
            ],
            "expirePeriodInDays": 2,
            "inactivePeriodInDays": 1,
            "numberOfFailedLoginAttempts": 2
            },
            "caseSensitiveLoginEnabled": true,
            "applicationClients": [],
            "customerSpecificRoles": []
            }
            ]

Response

{code:java}
                [
                {
                "id": "test_cust_nov6",
                {code}