WorkspaceSecretService
Workspace Secrets

Get a workspace secret by ID

Changed on

Retrieves a workspace secret by ID from the workspace

get/v1/workspaces/{workspaceId}/workspace_secrets/{id}

Request

  • Base URL
    https://api.cadenya.com
  • URL
    https://api.cadenya.com/v1/workspaces/{workspaceId}/workspace_secrets/{id}
  • Auth
    HTTP bearer

Path parameters

workspaceIdstring required
Example:workspace_01HXKD2E5NQM3T9AYWCF133E3Q

The workspace the secret belongs to.

idstring required
Example:wsecret_01HXKD2E5NQM3T9AYWCF586W5A

The secret to retrieve.

Response

OK

Example response

{
  "metadata": {
    "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
    "workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
    "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
  },
  "info": {
    "createdBy": {
      "metadata": {
        "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
        "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
      }
    }
  }
}

Changes

    • warning

      removed the optional property / from the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property / to the response with the status