username:passwordAuthorization: Basic *****************curl --location --request POST 'https://api.socialidnow.com/v1/marketing/datastore/schemas' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"schema": {
"name": "first_schema",
"fields": [
{
"name": "first_field",
"type": "string"
},
{
"name": "second_field",
"type": "integer",
"unique": true
},
{
"name": "third_field",
"type": "date_time",
"unique": false
}
],
"permissions": {
"write_protected": true,
"read_protected": false
}
}
}'{
"error": "authentication_failed",
"error_description": "string",
"errors": [
"string"
]
}