Modify report access
Modify report access
Path Parameters
reportId int64 required
reportId
application/json
Request Body required
updateMiscReportAccessRequest
dealerAccessMap object
enableReportLibraryDso boolean
featureKeyList string[]
Responses
- 200
- 201
- 401
- 403
- 404
OK
application/json
Schema
Example (from schema)
Schema
error object
status string
warning object[]
{
"error": {
"errorCode": "string",
"errorDescription": "string"
},
"status": "string",
"warning": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
PUT /library/reports/:reportId/access
Request
Request
curl / cURL
curl -L -X PUT '//api.mykaarma.com/reporting/v2/library/reports/:reportId/access' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerAccessMap": {},
"enableReportLibraryDso": true,
"featureKeyList": [
"string"
]
}'
python / requests
curl -L -X PUT '//api.mykaarma.com/reporting/v2/library/reports/:reportId/access' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerAccessMap": {},
"enableReportLibraryDso": true,
"featureKeyList": [
"string"
]
}'
go / native
curl -L -X PUT '//api.mykaarma.com/reporting/v2/library/reports/:reportId/access' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerAccessMap": {},
"enableReportLibraryDso": true,
"featureKeyList": [
"string"
]
}'
nodejs / axios
curl -L -X PUT '//api.mykaarma.com/reporting/v2/library/reports/:reportId/access' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerAccessMap": {},
"enableReportLibraryDso": true,
"featureKeyList": [
"string"
]
}'
ruby / Net::HTTP
curl -L -X PUT '//api.mykaarma.com/reporting/v2/library/reports/:reportId/access' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerAccessMap": {},
"enableReportLibraryDso": true,
"featureKeyList": [
"string"
]
}'
csharp / RestSharp
curl -L -X PUT '//api.mykaarma.com/reporting/v2/library/reports/:reportId/access' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerAccessMap": {},
"enableReportLibraryDso": true,
"featureKeyList": [
"string"
]
}'
php / cURL
curl -L -X PUT '//api.mykaarma.com/reporting/v2/library/reports/:reportId/access' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerAccessMap": {},
"enableReportLibraryDso": true,
"featureKeyList": [
"string"
]
}'
java / OkHttp
curl -L -X PUT '//api.mykaarma.com/reporting/v2/library/reports/:reportId/access' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerAccessMap": {},
"enableReportLibraryDso": true,
"featureKeyList": [
"string"
]
}'
powershell / RestMethod
curl -L -X PUT '//api.mykaarma.com/reporting/v2/library/reports/:reportId/access' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dealerAccessMap": {},
"enableReportLibraryDso": true,
"featureKeyList": [
"string"
]
}'