Skip to content

getOrgSecrets

Request

Security
authorization and appId
Path
platformstringrequired
orgstringrequired
Headers
authorizationany

SCM access token

mend-appIdany

(Optional) Id of your Mend application

curl -i -X GET \
  'https://developer-api.mend.io/api/v1/orgs/{platform}/{org}/secrets' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'authorization: {authorization}' \
  -H 'mend-appId: YOUR_API_KEY_HERE'

Responses

OK

Body*/*
totalCountinteger, (int32)
itemsArray of objects(DetailedSecretResponseDto)
Response
{
  "totalCount": 0,
  "items": [
    {
      "secretName": "string",
      "envVar": true,
      "rotatingTokenStatus": "invalid",
      "addedAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}