---
updatedAt: 2026-07-02T14:47:16.000Z
---

# Validate PAM Integration

Validates PAM integration credentials by checking with the credential service

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-explorer-enabled": false,
  "info": {
    "title": "Site API (Legacy)",
    "license": {
      "name": "(c) Copyright 2021 WhiteHat Security"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://sentinel.whitehatsec.com"
    }
  ],
  "paths": {
    "/api/pam_integration/validate": {
      "post": {
        "description": "Validates PAM integration credentials by checking with the credential service",
        "operationId": "validatePAMIntegration",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "pam_id",
                  "slot_cred_id"
                ],
                "properties": {
                  "pam_id": {
                    "type": "integer",
                    "description": "PAM integration ID",
                    "example": 1
                  },
                  "slot_cred_id": {
                    "type": "integer",
                    "description": "Slot credential ID",
                    "example": 456
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Validation result from credential service",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Validation response from credential service",
                  "properties": {
                    "valid": {
                      "type": "string",
                      "description": "Whether the credentials are valid",
                      "example": "true"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request - Missing required fields",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BadRequestError"
                },
                "examples": {
                  "missing_pam_id": {
                    "summary": "Missing pam_id",
                    "value": {
                      "error": "Missing pam_id in request body",
                      "status": 400
                    }
                  },
                  "missing_slot_cred_id": {
                    "summary": "Missing slot_cred_id",
                    "value": {
                      "error": "Missing slot_cred_id in request body",
                      "status": 400
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found - Slot credential not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotFoundError"
                },
                "example": {
                  "error": "Slot credential not found",
                  "status": 404
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalServerError"
                },
                "example": {
                  "error": "Request failed due to internal server error. Please contact support",
                  "status": 500
                }
              }
            }
          }
        },
        "summary": "Validate PAM Integration",
        "tags": [
          "PAM Integration API v1.0"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "error",
          "status"
        ],
        "properties": {
          "error": {
            "type": "string",
            "description": "Error message describing what went wrong"
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code"
          }
        }
      },
      "BadRequestError": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Error"
          },
          {
            "type": "object",
            "example": {
              "error": "Missing or empty required field: name",
              "status": 400
            }
          }
        ]
      },
      "NotFoundError": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Error"
          },
          {
            "type": "object",
            "example": {
              "error": "PAM integration not found for ID 1",
              "status": 404
            }
          }
        ]
      },
      "InternalServerError": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Error"
          },
          {
            "type": "object",
            "example": {
              "error": "Internal server error",
              "status": 500
            }
          }
        ]
      }
    }
  }
}
```