# List service and environment details using namespace and releasename

Return details of service and environment mapped to pods namespace and release-name for a given account.

Endpoint: POST /v1/kubernetes/releases/service-mapping
Version: 1.0
Security: x-api-key

## Header parameters:

  - `Harness-Account` (string)
    Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

## Request fields (application/json):

  - `namespace` (string)

  - `release_name` (string)

## Response 200 fields (application/json):

  - `_id` (object)

  - `account` (string)

  - `org` (string)

  - `project` (string)

  - `release_key` (string)

  - `service_details` (object)
    Response model of service release details

  - `service_details.service_id` (string)

  - `service_details.service_name` (string)

  - `service_details.org` (string)

  - `service_details.project` (string)

  - `environment_details` (object)
    Response model of environment release details

  - `environment_details.env_id` (string)

  - `environment_details.env_name` (string)

  - `environment_details.org` (string)

  - `environment_details.project` (string)

  - `environment_details.connector_ref` (string)

  - `environment_details.infra_name` (string)

  - `environment_details.infra_id` (string)

  - `environment_details.infrastructure_kind` (string)


