Fetch Media Storage Properties for a Tenant
Returns the storage properties where the media files are stored for the given tenant id.
Endpoint
Method: GET
URL: https://<tenant namespace url>/cse/media/{tenantId}/properties
curl -X GET "http://<tenant namespace url>/media/uss-tenant/properties" -H "accept: text/plain" -H "Content-Type: application/json"
Header Parameter
Authorization - Bearer Token
Path Parameters
Parameter Name | Data Type | Description | Required/ Optional |
---|---|---|---|
tenantId | String | Id of the tenant for which media storage properties need to be fetched. | Required |
Sample Response
"{ \"awsAccessKey\": \"ABCDEF1IE2334J5KLM6N\", \"awsSecretKey\": \"ABCD1EfiKJkLMNO2PqRS3tUvw8X4Y0/9\", \"clientRegion\": \"US-WEST\", \"roleARN\": \"arn:aws:iam::0123456789012:role/USS_API\", \"roleSessionName\": \"USS_API\"}"
Response and Error Codes
Response Code | Condition |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |