Get Secret from an Organisation Service

This endpoint retrieves the secret associated with a specific service within an organisation. It provides secure access to critical credentials, ensuring proper authentication and integration with other systems.

Syntax: see 'CCall Structure

Type = 'GET'

'https://connect.cambrionix.com/api/v1/organizations/organisation-id/services/service-id/secret'

Variable Description
organisation-id This is the unique id of the organisation as a unique 128-bit number
service-id This is the id of the service as a unique 128-bit number
Returns:

{ "secret": "service-secret" }

Output Description
service-secret The secret of the service
Example
curl -X 'GET' \
  'https://connect.cambrionix.com/api/v1/organizations/40f5a1a7-3119-4961-8493-866c4053b7eb/services/40f5a1a7-3119-4961-8493-866c4053b7eb/secret' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjdmNTI1YmI4LWE1OTJQinw'
Returns
{
  "secret": "06S+EOLfi895BKU="
}
Errors

If there is an error in the API method then JSON-RPC Error Object a will be returned