List Organization Invitations
List pending user invitations to an organization.
Basic Parameters
Parameter | Description |
---|---|
Organization ID | The id of the org the user is being invited to. |
Advanced Parameters
Parameter | Description |
---|---|
Ending Before | Return the page of results immediately before this cursor. |
Limit | Number of results to return per page. |
Starting After | Return the page of results immediately after this cursor. |
Example Output
{
"data": [
{
"attributes": {
"email": "example@email.com",
"is_active": true,
"role": "f1968726-1dca-42d4-a4dc-80cab99e2b6c"
},
"id": "1892a80e-0bf0-4000-8376-3dac6ecb8d01",
"relationships": {
"org": {
"data": {
"id": "4a72d1db-b465-4764-99e1-ecedad03b06a",
"type": "resource"
},
"links": {
"related": {
"href": "https://example.com/api/resource/4a72d1db-b465-4764-99e1-ecedad03b06a"
}
}
}
},
"type": "org_invitation"
}
],
"jsonapi": {
"version": "1.0"
},
"links": {
"first": "https://example.com/api/resource",
"last": "https://example.com/api/resource",
"next": "https://example.com/api/resource",
"prev": "https://example.com/api/resource",
"related": "https://example.com/api/resource",
"self": "https://example.com/api/resource"
}
}
Workflow Library Example
List Organization Invitations with Snyk and Send Results Via Email
Preview this Workflow on desktop