Your organization has a unique ID. Find this ID in your Atlassian Administration URL or when you create your API key.
Optionalresource?: stringUse the Get Workspaces API to get an id. Resource is required for all roles other than org-admin. Any resource passed for org-admin shall be ignored
Role to assign/revoke for a user
The UserId on which the action(Role Assign) needs to happen. Use the Search for users within an organization API to get the userId.
Optionaloptions: RequestOptions
This API can be used to grant Platform Roles to a user.