Drop user provisioning JSON file at SFTP path
curl --request POST \
--url sftp://sftp.tangoanalytics.com/inbound/User_Provisioning \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"records": [
{
"user_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"title": "<string>",
"location": "<string>",
"default_country": "<string>",
"default_brand": "<string>",
"brands": [
{
"brand_name": "<string>",
"country": "<string>",
"region": "<string>",
"roles": "<string>",
"entity_security": [
{
"restrictions": [
{
"value": "<string>"
}
]
}
]
}
]
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
records: [
{
user_name: '<string>',
first_name: '<string>',
last_name: '<string>',
email: 'jsmith@example.com',
title: '<string>',
location: '<string>',
default_country: '<string>',
default_brand: '<string>',
brands: [
{
brand_name: '<string>',
country: '<string>',
region: '<string>',
roles: '<string>',
entity_security: [{restrictions: [{value: '<string>'}]}]
}
]
}
]
})
};
fetch('sftp://sftp.tangoanalytics.com/inbound/User_Provisioning', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "sftp://sftp.tangoanalytics.com/inbound/User_Provisioning"
payload = { "records": [
{
"user_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"title": "<string>",
"location": "<string>",
"default_country": "<string>",
"default_brand": "<string>",
"brands": [
{
"brand_name": "<string>",
"country": "<string>",
"region": "<string>",
"roles": "<string>",
"entity_security": [{ "restrictions": [{ "value": "<string>" }] }]
}
]
}
] }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)User Provisioning File
Drop user provisioning JSON file at SFTP path
POST
/
inbound
/
User_Provisioning
Drop user provisioning JSON file at SFTP path
curl --request POST \
--url sftp://sftp.tangoanalytics.com/inbound/User_Provisioning \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"records": [
{
"user_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"title": "<string>",
"location": "<string>",
"default_country": "<string>",
"default_brand": "<string>",
"brands": [
{
"brand_name": "<string>",
"country": "<string>",
"region": "<string>",
"roles": "<string>",
"entity_security": [
{
"restrictions": [
{
"value": "<string>"
}
]
}
]
}
]
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
records: [
{
user_name: '<string>',
first_name: '<string>',
last_name: '<string>',
email: 'jsmith@example.com',
title: '<string>',
location: '<string>',
default_country: '<string>',
default_brand: '<string>',
brands: [
{
brand_name: '<string>',
country: '<string>',
region: '<string>',
roles: '<string>',
entity_security: [{restrictions: [{value: '<string>'}]}]
}
]
}
]
})
};
fetch('sftp://sftp.tangoanalytics.com/inbound/User_Provisioning', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "sftp://sftp.tangoanalytics.com/inbound/User_Provisioning"
payload = { "records": [
{
"user_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"title": "<string>",
"location": "<string>",
"default_country": "<string>",
"default_brand": "<string>",
"brands": [
{
"brand_name": "<string>",
"country": "<string>",
"region": "<string>",
"roles": "<string>",
"entity_security": [{ "restrictions": [{ "value": "<string>" }] }]
}
]
}
] }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
