Skip to main content
GET
/
v2
/
access-profiles
/
{id}
Get Access Profile
curl --request GET \
  --url https://public.api.serval.com/v2/access-profiles/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "teamId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "isTeamDefault": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "matchingCriteria": {
      "groups": {
        "matchType": "ACCESS_PROFILE_GROUP_MATCH_TYPE_UNSPECIFIED",
        "includedGroupIds": [
          "<string>"
        ],
        "excludedGroupIds": [
          "<string>"
        ]
      }
    },
    "grants": {
      "appResourceRoles": [
        {
          "appResourceRoleId": "<string>",
          "useTeamDefaultAccessProfile": true
        }
      ],
      "workflows": [
        {
          "workflowId": "<string>"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the access profile.

Response

Success

data
data · object

An access profile defines which entitlements are available to which groups of users, and which workflows apply.