Get Match Security Profiles

GET /security-profiles

This API retrieves all Match security profiles.

Responses

  • 200 application/json

    Successful Response

    Hide response attributes Show response attributes object
    • id string

      The security profile id.

    • name string

      The security profile name.

  • 401 application/json

    Authentication Error. Invalid credentials.

    Hide response attributes Show response attributes object
  • Authorization Error. Invalid role for request.

GET /security-profiles
curl \
 --request GET 'https://localhost:8080/security-profiles' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": 1,
      "name": "Accountant"
    },
    {
      "id": 2,
      "name": "Admin"
    },
    {
      "id": 3,
      "name": "Auditor"
    }
  ],
  "totalRecords": 3
}
Response examples (401)
{
  "code": "900901",
  "message": "Invalid Credentials",
  "description": "Access failure for API: /api/admin/v1.1.0, version: v1.1.0 status: (900901) - Invalid Credentials. Make sure you have provided the correct security credentials"
}