UpdateCoreAttributeConfig
/api/v1/coreattributeconfigUpdate which integrations supply users’ managers, titles, and pictures.
Example request
Section titled “Example request”curl -X PATCH \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ -H "Content-Type: application/json" \ -d '{ "managerIntegration": "string", "titleIntegration": "string", "pictureIntegration": "string" }' \ "https://us.oblique.security/api/v1/coreattributeconfig?updateMask=managerIntegration,titleIntegration,pictureIntegration"Set OBLIQUE_API_KEY to your API key.
curl -X PATCH \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ -H "Content-Type: application/json" \ -d '{ "managerIntegration": "string", "titleIntegration": "string", "pictureIntegration": "string" }' \ "https://eu.oblique.security/api/v1/coreattributeconfig?updateMask=managerIntegration,titleIntegration,pictureIntegration"Set OBLIQUE_API_KEY to your API key.
Path parameters
Section titled “Path parameters”coreAttributeConfig.namestringrequiredAssigned by Oblique.
Query parameters
Section titled “Query parameters”updateMaskstring (field-mask)The list of fields to update.
Request body
Section titled “Request body”updateTimestring (date-time)read-onlymanagerIntegrationstringThe integration used to determine the manager in Oblique. This will be automatically set to the first integration that’s added, and can later be updated.
titleIntegrationstringThe integration used to determine the title in Oblique. This will be automatically set to the first integration that’s added, and can later be updated.
pictureIntegrationstringThe integration used to determine users’ profile pictures in Oblique. This will be automatically set to the first integration that reports pictures, and can later be updated.
Response
Section titled “Response”200CoreAttributeConfigCoreAttributeConfig is a system-wide configuration.
namestringAssigned by Oblique.
updateTimestring (date-time)read-onlymanagerIntegrationstringThe integration used to determine the manager in Oblique. This will be automatically set to the first integration that’s added, and can later be updated.
titleIntegrationstringThe integration used to determine the title in Oblique. This will be automatically set to the first integration that’s added, and can later be updated.
pictureIntegrationstringThe integration used to determine users’ profile pictures in Oblique. This will be automatically set to the first integration that reports pictures, and can later be updated.
Errors
Section titled “Errors”| Status | Meaning |
|---|---|
400 | Malformed request |
401 | Missing or invalid API key |
403 | Not allowed for this API key |
404 | Not found |
429 | Too many requests |
500 | Internal server error |