GET
/
v1
/
teams
/
{team_id}
/
access-policies
/
{access_policy_id}
/
approval-procedure
Get Approval Procedure
curl --request GET \
  --url https://public.api.serval.com/v1/teams/{team_id}/access-policies/{access_policy_id}/approval-procedure \
  --header 'Authorization: Bearer <token>'
{
  "approvalProcedure": {
    "id": "<string>",
    "steps": [
      {
        "id": "<string>",
        "stepType": "APPROVAL_PROCEDURE_STEP_TYPE_UNSPECIFIED",
        "specificUserIds": [
          "<string>"
        ],
        "servalGroupIds": [
          "<string>"
        ],
        "allowSelfApproval": true
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string
required

The ID of the Serval team.

access_policy_id
string
required

The ID of the access policy.

Response

200
application/json

Success

The response is of type object.