Update Object Exposure
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/exposure \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"path": [
"<string>"
],
"scope": "personal",
"all_attributes": false,
"attributes": [
"<string>"
]
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/exposure"
payload = {
"path": ["<string>"],
"scope": "personal",
"all_attributes": False,
"attributes": ["<string>"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
path: ['<string>'],
scope: 'personal',
all_attributes: false,
attributes: ['<string>']
})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/exposure', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));CRM objects
Update Object Exposure
Choose what the support agent may read of this type for the person it is talking to: the links that say who a record belongs to, and the attributes given. Requires the admin role on the type.
PUT
/
api
/
v1
/
crm
/
objects
/
{type_key}
/
exposure
Update Object Exposure
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/exposure \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"path": [
"<string>"
],
"scope": "personal",
"all_attributes": false,
"attributes": [
"<string>"
]
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/exposure"
payload = {
"path": ["<string>"],
"scope": "personal",
"all_attributes": False,
"attributes": ["<string>"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
path: ['<string>'],
scope: 'personal',
all_attributes: false,
attributes: ['<string>']
})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/exposure', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Body
application/json
Response
200
OK
