GET
/
api
/
v2
/
organizations
/
{orgId}
/
identity-memberships
curl --request GET \
  --url https://us.infisical.com/api/v2/organizations/{orgId}/identity-memberships \
  --header 'Authorization: Bearer <token>'
{
  "identityMemberships": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "role": "<string>",
      "roleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "identityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "customRole": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "slug": "<string>",
        "permissions": "<any>",
        "description": "<string>"
      },
      "identity": {
        "name": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "authMethods": [
          "<string>"
        ]
      }
    }
  ],
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

An access token in Infisical

Path Parameters

orgId
string
required

The ID of the organization to get identity memberships from.

Query Parameters

offset
number
default:
0

The offset to start from. If you enter 10, it will start from the 10th identity membership.

Required range: x > 0
limit
number
default:
100

The number of identity memberships to return.

Required range: 1 < x < 20000
orderBy
enum<string>
default:
name

The column to order identity memberships by.

Available options:
name
orderDirection
enum<string>
default:
asc

The direction identity memberships will be sorted in.

Available options:
asc,
desc

The text string that identity membership names will be filtered by.

Response

200
application/json
Default Response
identityMemberships
object[]
required
totalCount
number
required