SIGN IN SIGN UP

Authorization Resources endpoints for Internal ID (#1471) (#1479)

Adding these endpoints to the sdk
https://github.com/workos/workos-node/pull/1471
```
getResource()    ~ GET /authorization/resources/{resource_id}
createResource() ~ POST /authorization/resources
updateResource() ~ PATCH /authorization/resources/{resource_id}
deleteResource() ~ DELETE /authorization/resources/{resource_id}
```
https://github.com/workos/workos-node/pull/1473
```
check() | POST /authorization/organization_memberships/{om_id}/check
```
https://github.com/workos/workos-node/pull/1472
```
listResources()               | GET /authorization/organizations/{org_id}/resources

getResourceByExternalId()     | GET /authorization/organizations/{org_id}/resources/{type}/{external_id}
updateResourceByExternalId()  | PATCH /authorization/organizations/{org_id}/resources/{type}/{external_id}
deleteResourceByExternalId()  | DELETE /authorization/organizations/{org_id}/resources/{type}/{external_id}
```
https://github.com/workos/workos-node/pull/1474/
```
listRoleAssignments() | GET /authorization/organization_memberships/{om_id}/role_assignments
assignRole() | POST /authorization/organization_memberships/{om_id}/role_assignments
removeRole() | DELETE /authorization/organization_memberships/{om_id}/role_assignments
removeRoleAssignment() | DELETE /authorization/organization_memberships/{om_id}/role_assignments/{ra_id}
```
https://github.com/workos/workos-node/pull/1478
```
listResourcesForMembership() | GET /authorization/organization_memberships/{om_id}/resources
listMembershipsForResource() | GET /authorization/resources/{resource_id}/organization_memberships
listMembershipsForResourceByExternalId() | GET /authorization/organizations/{org_id}/resources/{type}/{external_id}/organization_memberships
```
S
swaroopThereItIs committed
9155aec2edb295765130bc2fbd2409b6764c5813
Parent: 641ee44
Committed by GitHub <noreply@github.com> on 2/13/2026, 3:38:06 PM