AuthorizationAPI
Index
Interfaces
- Active
Permission - Allowed
Actions - App
Info - Attached
Policy - Entity
Grant - Entity
Grants - Entity
Id - Group
- Group
Info - Group
Member - Group
Member Info - Group
Member PageWToken - Group
PageWToken - Invite
PageWToken - Linkable
Resource - Linkable
Resource List - List
Invite Response - PageWToken
- Page
With Token - Page
With Token No Total - Patch
Project - Permission
PageWToken - Project
List With Page Token - Project
Member - Project
Member Group Info - Project
Member List With Page Token - Project
Policy List Response - Project
Policy Request Body - Project
Policy Request Body Permissions - Project
Policy Response - Project
Policy Response Permissions - Project
Request - Project
Response - Realm
Auth Invite Response - Realm
Authorization Invite - Realm
Member - Realm
Member Info - Realm
Member PageWToken - Resource
In Project List With Page Token - Resource
In Project Response - Resource
Link Action Body - Resource
List Detailed With Page Token - Resource
List With Page Token - Resource
Project List With Page Token - Resource
Project Response - Resource
Relation Response - Resource
Response - Resource
Response Detailed - Role
- Role
Entity - Role
Entity Info - Role
Entity PageWToken - Role
PageWToken - User
Info
Functions
- add
Grant - add
Group Member - add
Project Member - add
Project Resource Relation - add
Role Entity - attach
Project Policy To Member - cancel
Realm Member Invite - check
Project Existance - create
Group - create
Project - create
Project Policy - create
Realm Member Invite - delete
Group - delete
Project - delete
Project Member - delete
Project Policy - delete
Project Resource Reference - delete
Role Entity - detach
Project Policy From Member - get
All Project List - get
All Project Members With Attached Policy - get
Attached Project Policies For Member - get
Attached Project Policy For Member - get
Entity Group Membership - get
Entity Managed Groups - get
Grant - get
Grants - get
Group - get
Group Member - get
Group Members - get
Group Roles - get
Groups - get
List Of Ways Resource Is Linkable - get
My Groups - get
My Roles - get
Project - get
Project List - get
Project Member - get
Project Policy - get
Project Policy List - get
Project Resource - get
Realm Member - get
Realm Members - get
Resource - get
Resource Actions For Project - get
Resource Linkability - get
Resource Projects - get
Resource Type Action List - get
Resources - get
Role - get
Role Entities - get
Role Entity - get
Role Permission - get
Role Permissions - get
Roles - leave
Group - leave
Project - list
Grants - list
Project Members - list
Project Resources - list
Realm Resources - make
Resource Linkable - patch
Project - remove
Grant - remove
Group Member - remove
Resource Linkability - resend
Realm Member Invite - search
Realm Member Invites - set
Attached Project Policies To Member - update
Group - update
Project Policy - update
Resource Linkability
Functions
add Grant
- add
Grant(builder: RequestBuilder, params: {</span>actionId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resourceHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<EntityGrant>
-
Grant access to a resource to an entity. The result of this call is that the specified entity will have permission to take the specified action against the specified resource. Restrictions:
- The realm of the calling principal must match the realm of the requested entity.
- The calling principal must have permission to take the addGrant:{actionId} OR share action against the specified resource.
- Example: In order to add a grant for the readResource action against resource hrn:here:data:::my-shared-catalog a permission with the following would be required:
- "action" : "addGrant:readResource"
- "resource" : "hrn:here:data:::my-shared-catalog" OR
- "action" : "share"
- "resource" : "hrn:here:data:::my-shared-catalog"
- This API works only with tokens that are not scoped to a project.
summary
Grant access to a resource to an entity.Parameters-
builder: RequestBuilder
-
params: {</span>actionId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resourceHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
add Group Member
- add
Group Member(builder: RequestBuilder, params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Add a single member to a group.
Restrictions:
-
The calling principal must have permission to take the manageMembers action against the group identified by the provided group HRN.
-
Example: In order to add a member to the group, GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a, a permission with the following would be required:
-
"action" : "manageMembers"
-
"resource" : "hrn:here:authorization::myrealm:group/GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a"
-
This API works only with tokens that are not scoped to a project.
summary
Add a member to a groupParameters-
builder: RequestBuilder
-
params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response> -
add Project Member
- add
Project Member(builder: RequestBuilder, params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Add the member to the requested Project.
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the manageMembers action for the specified resource.
-
Example: In order to add a member to the Project, the following permission would be required:
-
"action" : "manageMembers"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
This API works only with tokens that are not scoped to a project.
summary
Add the member to the requested ProjectParameters-
builder: RequestBuilder
-
params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response> -
add Project Resource Relation
- add
Project Resource Relation(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-resourcelinkactionbody" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">ResourceLinkActionBody</a><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>relation<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-modules-olp_sdk_dataservice_api-authorizationapi#ResourceRelation" class="typedoc-tsd-signature-type" data-tsd-kind="Type alias">ResourceRelation</a><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-modules-olp_sdk_dataservice_api-authorizationapi#Type" class="typedoc-tsd-signature-type" data-tsd-kind="Type alias">Type</a><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ResourceRelationResponse>
-
Add the resource to the requested Project as a home or a reference(link).
Access Control:
-
User Access Token & Client Access Token When relation=home The requested resource will be assigned the requested project as its resource home. The resource MUST NOT already have an existing resource home.
-
The calling principal must have permission to take the manageResourceHome action for the specified project AND the share action for the specified resource.
-
Example: In order to add resource "hrn:here:data::myrealm:my-catalog-0000" to the project "hrn:here:authorization::myrealm:project/my-project-0000", the following permissions would be required:
-
Permission 1:
-
"action" : "manageResourceHome"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
Permission 2:
-
"action" : "share"
-
"resource" : "hrn:here:data::myrealm:my-catalog-0000" When relation=reference Link the resource to the requested Project as a reference(link). The requested resource will be assigned to the requested project as reference(link).
The resource MUST be available to the caller to attach as a resource reference(link). A resource is referenceable if it has been marked as referenceable and the caller has permission to all reference enabled actions against the resource OR The resource has been made linkable to the project/realm for the project linking enabled action The exclusive list of resources available to the caller to attach as a resource reference(link) is accessible via a call to /resources?referenceable=true or /resources?linkable=true
- The authorization context must satisfy one of the following:
- The calling principal has permission to take the manageResourceReferences action for the specified project.
- Example: In order to add a resource reference to the project "hrn:here:authorization::myrealm:project/my-project-0000", the following permission would be required:
- "action" : "manageResourceReferences"
- "resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
- The calling principal is a member of the specified project.
- The calling principal must have permission to attach the resource as a referenceable resource. A resource is referenceable to the caller if:
- It has been marked as referenceable and The caller has permission to all reference enabled actions against the resource.
OR
- The resource has been made linkable to the project/realm for the project linking enabled action
- This API works only with tokens that are not scoped to a project.
summary
Add a resource to the requested Project as a Resource Home or Resource Reference(Link)Parameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-resourcelinkactionbody" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">ResourceLinkActionBody</a><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>relation<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-modules-olp_sdk_dataservice_api-authorizationapi#ResourceRelation" class="typedoc-tsd-signature-type" data-tsd-kind="Type alias">ResourceRelation</a><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-modules-olp_sdk_dataservice_api-authorizationapi#Type" class="typedoc-tsd-signature-type" data-tsd-kind="Type alias">Type</a><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
body: ResourceLinkActionBody
-
project: string
-
relation: ResourceRelation
-
resource: string
-
type: Type
-
Optional x
CorrelationID?: string
-
-
add Role Entity
- add
Role Entity(builder: RequestBuilder, params: {</span>entity<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Assign the role provided to the given entity. If the provided role is associated with a group, the entity being assigned the role must be a member of the associated group. Restrictions:
- The calling principal must have permission to take the manageEntities action against the specified role.
- Example: In order to assign the role, GroupAdmin, to an entity a permission with the following would be required:
- "action" : "manageEntities"
- "resource" : "hrn:here:authorization::myrealm:role/ROLE-c1662138-a170-4264-ba18-7b506a708c37"
- This API works only with tokens that are not scoped to a project.
summary
Assign a role to an entityParameters-
builder: RequestBuilder
-
params: {</span>entity<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response>
attach Project Policy To Member
- attach
Project Policy To Member(builder: RequestBuilder, params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Attaches the Project Policy to the member of the Project.
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the manageMembers action for the specified resource.
-
Example: In order to attach a custom policy in a Project to a member, the following permissions would be required:
-
"action" : "manageMembers"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000" AND
-
"action" : "managePolicies"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Admins and Resource Managers
-
This API works only with tokens that are not scoped to a project.
summary
Attach Project Policy to MemberParameters-
builder: RequestBuilder
-
params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response> -
cancel Realm Member Invite
- cancel
Realm Member Invite(builder: RequestBuilder, params: {</span>invite<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Cancel an invitation to the realm. Restrictions:
- The calling principal must have permission to take the manageInvites action against the specified realm.
example:
In order to delete an invitation to the realm, MyRealm, a permission with the following would be required:- "action" : "manageInvites"
- "resource" : "hrn:here:account::myrealm:realm/myrealm"
- This API works only with tokens that are not scoped to a project.
summary
Cancel a user invitation to a realmParameters-
builder: RequestBuilder
-
params: {</span>invite<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response>
check Project Existance
- check
Project Existance(builder: RequestBuilder, params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Checks whether a project exists with requested project hrn in caller realm.
If project does not exist in the same realm it will return 404.
- This API works only with tokens that are not scoped to a project.
summary
Checks the existance of a project in caller realm.Parameters-
builder: RequestBuilder
-
params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response>
create Group
- create
Group(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-group" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">Group</a><span class="typedoc-tsd-signature-symbol">}): Promise<Group>
-
Create a group within the realm that is associated with the calling party. The calling party will be made a member and an administrator of the created group.
Restrictions:
-
The calling principal must have permission to take the createGroup action against the realm associated with the calling party.
-
Example: In order to create a group within the calling party's realm a permission with the following would be required:
-
"action" : "createGroup"
-
"resource" : "hrn:here:account::myrealm:realm/myrealm"
-
This API works only with tokens that are not scoped to a project.
summary
Create groupParameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-group" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">Group</a><span class="typedoc-tsd-signature-symbol">}
-
body: Group
-
-
create Project
- create
Project(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-projectrequest" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">ProjectRequest</a><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectResponse>
-
Create the requested Project in the callers realm Access Control:
- User Access Token & Client Access Token
- The calling principal must have permission to take the createProject action for the specified project.
- Example: In order to create a Project, the following permission would be required:
- "action" : "createProject"
- This API works only with tokens that are not scoped to a project.
summary
Create the requested ProjectParameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-projectrequest" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">ProjectRequest</a><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
body: ProjectRequest
-
Optional x
CorrelationID?: string
-
create Project Policy
- create
Project Policy(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-projectpolicyrequestbody" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">ProjectPolicyRequestBody</a><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectPolicyResponse>
-
Create the requested custom policy in the Project
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the managePolicies action for the specified resource.
-
Example: In order to create a custom policy in a Project, the following permission would be required:
-
"action" : "managePolicies"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Admins and Resource Managers
-
This API works only with tokens that are not scoped to a project.
summary
Create the requested Project PolicyParameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-projectpolicyrequestbody" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">ProjectPolicyRequestBody</a><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
body: ProjectPolicyRequestBody
-
project: string
-
-
create Realm Member Invite
- create
Realm Member Invite(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-realmauthorizationinvite" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">RealmAuthorizationInvite</a><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<RealmAuthInviteResponse>
-
Create and send an invitation to add a new member to the realm, optionally assign membership to one or more groups if the Inviter is also a GroupAdmin for the group. Restrictions:
- The calling principal must have permission to take the manageInvites action against the specified realm.
example:
In order to invite a new user to the realm, MyRealm, a permission with the following would be required:- "action" : "manageInvites"
- "resource" : "hrn:here:account::myrealm:realm/myrealm"
example:
In order to invite a new user to the realm, MyRealm, as a member of the group GROUP-a3dee2fe-fb38-4183-b686-14fdea5964c0, the following permissions would be required:- "action" : "manageInvites"
- "resource" : "hrn:here:account::myrealm:realm/myrealm"
- "action" : "manageMembers"
- "resource" : "hrn:here:authorization::myrealm:group/GROUP-a3dee2fe-fb38-4183-b686-14fdea5964c"
- This API works only with tokens that are not scoped to a project.
summary
Create and send a user invitation for a realmParameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-realmauthorizationinvite" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">RealmAuthorizationInvite</a><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
body: RealmAuthorizationInvite
-
realm: string
-
delete Group
- delete
Group(builder: RequestBuilder, params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Delete the group identified by the provided group HRN.
Restrictions:
-
The calling principal must have permission to take the deleteGroup action against the group identified by the provided group HRN.
-
Example: In order to delete the group, GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a, a permission with the following would be required:
-
"action" : "deleteGroup"
-
"resource" : "hrn:here:authorization::myrealm:group/GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a"
-
This API works only with tokens that are not scoped to a project.
summary
delete groupParameters-
builder: RequestBuilder
-
params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response> -
delete Project
- delete
Project(builder: RequestBuilder, params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Delete the specified Project Access Control:
- User Access Token & Client Access Token
- The calling principal must have permission to take the manage action for the specified resource.
- Example: In order to delete a Project, the following permission would be required:
- "action" : "manage"
- "resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
- This API works only with tokens that are not scoped to a project.
summary
Delete the specified ProjectParameters-
builder: RequestBuilder
-
params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response>
delete Project Member
- delete
Project Member(builder: RequestBuilder, params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Remove the member from the specified Project Access Control:
- User Access Token & Client Access Token
- The calling principal must have permission to take the manageMembers action for the specified resource.
- Example: In order to remove a member from a Project, the following permission would be required:
- "action" : "manageMembers"
- "resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
- This API works only with tokens that are not scoped to a project.
summary
Remove the member from the specified ProjectParameters-
builder: RequestBuilder
-
params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response>
delete Project Policy
- delete
Project Policy(builder: RequestBuilder, params: {</span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Delete the custom policy in the Project
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the managePolicies action for the specified resource.
-
Example: In order to update a custom policy in a Project, the following permission would be required:
-
"action" : "managePolicies"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Admins and Resource Managers
-
This API works only with tokens that are not scoped to a project.
summary
Delete the custom Project PolicyParameters-
builder: RequestBuilder
-
params: {</span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response> -
delete Project Resource Reference
- delete
Project Resource Reference(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-resourcelinkactionbody" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">ResourceLinkActionBody</a><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>relation<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Remove the resource from the project. The requested resource may only be linked as a reference, removing a home resource requires deleting the resource from the resource service.
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the manageResourceReferences action for the specified project.
-
Example: In order to remove a resource reference(link) from the project "hrn:here:authorization::myrealm:project/my-project-0000", the following permission would be required:
-
"action" : "manageResourceReferences"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
This API works only with tokens that are not scoped to a project.
summary
Remove a Resource Reference(Link) from a projectParameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-resourcelinkactionbody" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">ResourceLinkActionBody</a><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>relation<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
body: ResourceLinkActionBody
-
project: string
-
relation: string
-
resource: string
-
Optional x
CorrelationID?: string
-
Returns Promise<Response> -
delete Role Entity
- delete
Role Entity(builder: RequestBuilder, params: {</span>entity<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Remove the role provided to from the given member. Restrictions:
- The calling principal must have permission to take the manageEntities action against the specified role.
- Example: In order to revoke the role, GroupAdmin, from an entity a permission with the following would be required:
- "action" : "manageEntities"
- "resource" : "hrn:here:authorization::myrealm:role/ROLE-c1662138-a170-4264-ba18-7b506a708c37"
- This API works only with tokens that are not scoped to a project.
summary
Revoke a role from an entityParameters-
builder: RequestBuilder
-
params: {</span>entity<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response>
detach Project Policy From Member
- detach
Project Policy From Member(builder: RequestBuilder, params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Detached the requested custom Project Policy from a Membber
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the manageMembers action for the specified resource.
-
Example: In order to detach a custom policy in a Project from a member, the following permissions would be required:
-
"action" : "manageMembers"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000" AND
-
"action" : "managePolicies"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Admins and Resource Managers
-
This API works only with tokens that are not scoped to a project.
summary
Detach the Project Policy from a MemberParameters-
builder: RequestBuilder
-
params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response> -
get All Project List
- get
All Project List(builder: RequestBuilder, params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectListWithPageToken>
-
Get the list of all Projects in the Org
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the listAllProjects action for the specified resource.
-
Example: In order to get a list of projects, the following permission would be required:
-
"action" : "listAllProjects"
-
This API works only with tokens that are not scoped to a project.
summary
Get the list of all Projects in the OrgParameters-
builder: RequestBuilder
-
params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get All Project Members With Attached Policy
- get
All Project Members With Attached Policy(builder: RequestBuilder, params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectMemberListWithPageToken>
-
Get the list of all Project Members with the attached Policy
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the read action for the specified resource.
-
Example: In order to read the list of all members attached to a project policy, the following permission would be required:
-
"action" : "read"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Members, Project Admins, Org Admins
-
This API works only with tokens that are not scoped to a project.
summary
Get the list of all Project Members with the attached PolicyParameters-
builder: RequestBuilder
-
params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Attached Project Policies For Member
- get
Attached Project Policies For Member(builder: RequestBuilder, params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectPolicyListResponse>
-
Get the list of Attached Project Policies For a Member
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the read action for the specified resource.
-
Example: In order to read the list of the attached project policies, the following permission would be required:
-
"action" : "read"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Members, Project Admins, Org Admins
-
This API works only with tokens that are not scoped to a project.
summary
Get the list of Attached Project Policies For a MemberParameters-
builder: RequestBuilder
-
params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Attached Project Policy For Member
- get
Attached Project Policy For Member(builder: RequestBuilder, params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<AttachedPolicy>
-
Get the attached Project Policy For a Member
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the read action for the specified resource.
-
Example: In order to read the attached project policy, the following permission would be required:
-
"action" : "read"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Members, Project Admins, Org Admins
-
This API works only with tokens that are not scoped to a project.
summary
Get the attached Project Policy for a MemberParameters-
builder: RequestBuilder
-
params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Entity Group Membership
- get
Entity Group Membership(builder: RequestBuilder, params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<GroupPageWToken>
-
Retrieve the groups a given entity is a member of. Restrictions: The calling principal must have permission to take the readGroups action against the specified entity.
example:
In order to retrieve the groups a user, HERE-4ba9aca3-fdf9-4cad-a3da-534494d6198f, is a member of, a permission with the following would be required: "action" : "readGroups" "resource" : "hrn:here:account::myrealm:user/HERE-4ba9aca3-fdf9-4cad-a3da-534494d6198f" This API works only with tokens that are not scoped to a projectsummary
Get entity group membershipParameters-
builder: RequestBuilder
-
params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Entity Managed Groups
- get
Entity Managed Groups(builder: RequestBuilder, params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<GroupPageWToken>
-
Retrieve the list of groups over which the provided entity has been granted the role of GroupAdmin. Restrictions:
- The calling principal must have permission to take the readGroups action against the specified entity.
example:
In order to retrieve the groups a user, HERE-4ba9aca3-fdf9-4cad-a3da-534494d6198f, is an admin of, a permission with the following would be required:- "action" : "readGroups"
- "resource" : "hrn:here:account::myrealm:user/HERE-4ba9aca3-fdf9-4cad-a3da-534494d6198f"
- This API works only with tokens that are not scoped to a project.
summary
Get entity managed groupParameters-
builder: RequestBuilder
-
params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Grant
- get
Grant(builder: RequestBuilder, params: {</span>actionId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resourceHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<EntityGrant>
-
Get a single grant given to an entity. This calls returns any permission to take the specified action against the specified resource on the requested entity. Restrictions:
- The realm of the calling principal must match the realm of the requested app.
- The calling principal must have permission to take the listGrants OR share action against the specified resource.
- In order to get a grant against resource hrn:here:data:::my-shared-catalog a permission with the following would be required:
- "action" : "listGrants"
- "resource" : "hrn:here:data:::my-shared-catalog" OR
- "action" : "share"
- "resource" : "hrn:here:data:::my-shared-catalog"
- This API works only with tokens that are not scoped to a project.
summary
Get a single grant given to an entityParameters-
builder: RequestBuilder
-
params: {</span>actionId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resourceHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Grants
- get
Grants(builder: RequestBuilder, params: {</span>entityId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resourceHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<EntityGrant>
-
Get grants. This call describes the permissions assigned to the specified entity that grant access to the specified resource.
Restrictions:
- The realm of the calling principal must match the realm of the requested entity.
- The calling principal must have permission to take the listGrants OR share action against the specified resource.
- Example: In order to get grants against resource hrn:here:data:::my-shared-catalog a permission with the following would be required:
- "action" : "listGrants"
- "resource" : "hrn:here:data:::my-shared-catalog" OR
- "action" : "share"
- "resource" : "hrn:here:data:::my-shared-catalog"
- This API works only with tokens that are not scoped to a project.
summary
Get grants given to a user, app, or groupParameters-
builder: RequestBuilder
-
params: {</span>entityId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resourceHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Group
- get
Group(builder: RequestBuilder, params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Group>
-
Retrieve the group identified by the provided group HRN.
Restrictions:
-
The calling principal must have permission to take the readMembers action against the realm associated with the calling party.
-
Example: In order to retrieve a group within the calling party's realm a permission with the following would be required:
-
"action" : "readMembers"
-
"resource" : "hrn:here:account::myrealm:realm/myrealm"
-
This API works only with tokens that are not scoped to a project.
summary
Get single groupParameters-
builder: RequestBuilder
-
params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Group Member
- get
Group Member(builder: RequestBuilder, params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<GroupMember>
-
Retrieve a single group member.
Restrictions:
-
The calling principal must have permission to take the readMembers action against the group identified by the provided group HRN.
-
Example: In order to retrieve a single member of the group, GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a, a permission with the following would be required:
-
"action" : "readMembers"
-
"resource" : "hrn:here:authorization::myrealm:group/GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a"
-
This API works only with tokens that are not scoped to a project.
summary
Get single Group memberParameters-
builder: RequestBuilder
-
params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Group Members
- get
Group Members(builder: RequestBuilder, params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<GroupMemberPageWToken>
-
Retrieve the list of members of the group identified by the provided group HRN.
Restrictions:
-
The calling principal must have permission to take the readMembers action against the group identified by the provided group HRN.
-
Example: In order to retrieve the members of the group, GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a, a permission with the following would be required:
-
"action" : "readMembers"
-
"resource" : "hrn:here:authorization::myrealm:group/GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a"
-
This API works only with tokens that are not scoped to a project.
summary
Get Group membersParameters-
builder: RequestBuilder
-
params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Group Roles
- get
Group Roles(builder: RequestBuilder, params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<RolePageWToken>
-
List the roles which are associated with the provided group.
Restrictions:
- The calling principal must have permission to take the readRoles action against the specified group.
- Example: In order list the roles associated with the group, GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a, a permission with the following would be required:
- "action" : "readRoles"
- "resource" : "hrn:here:authorization::myrealm:group/GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a"
- This API works only with tokens that are not scoped to a project.
summary
Get group rolesParameters-
builder: RequestBuilder
-
params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Groups
- get
Groups(builder: RequestBuilder, params?: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>q<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<GroupPageWToken>
-
Retrieve the list of groups within the realm associated with the calling party.
Restrictions:
-
The calling principal must have permission to take the readMembers action against the realm associated with the calling party.
-
Example: In order to list the groups within the calling party's realm a permission with the following would be required:
-
"action" : "readMembers"
-
"resource" : "hrn:here:account::myrealm:realm/myrealm"
-
This API works only with tokens that are not scoped to a project.
summary
Get groupsParameters-
builder: RequestBuilder
-
Optional params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>q<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get List Of Ways Resource Is Linkable
- get
List Of Ways Resource Is Linkable(builder: RequestBuilder, params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<LinkableResourceList>
-
Get a list of ways this resource has been made linkable
Access Control:
-
The calling principal must have permission to take all the "requiredToMakeLinkable" actions against the service inferred via the reserved resource prefix of the resource in the path in the scope of the home project of the resource.
-
Example: In order to make a catalog linkable, the following permission would be required:
-
"action" : "manageResource"
-
"resource" : "hrn:here:data::olp-here:my-shared-catalog"
This API works only with tokens that are scoped to the home project of the resource.
summary
Get a list of ways the resource has been made linkableParameters-
builder: RequestBuilder
-
params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get My Groups
- get
My Groups(builder: RequestBuilder, params?: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<GroupPageWToken>
-
Retrieve a list of groups of a member
This API works only with tokens that are not scoped to a project.
summary
Get My GroupsParameters-
builder: RequestBuilder
-
Optional params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get My Roles
- get
My Roles(builder: RequestBuilder, params?: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<RolePageWToken>
-
Retrieve the list of roles which have been assigned to the calling party. This API works only with tokens that are not scoped to a project.
summary
Get My RolesParameters-
builder: RequestBuilder
-
Optional params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Project
- get
Project(builder: RequestBuilder, params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectResponse>
-
Get the requested Project
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the read action for the specified resource.
-
Example: In order to get a project, the following permission would be required:
-
"action" : "read"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
This API works only with tokens that are not scoped to a project.
summary
Get the requested ProjectParameters-
builder: RequestBuilder
-
params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Project List
- get
Project List(builder: RequestBuilder, params: {</span>canManage<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>isMember<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectListWithPageToken>
-
Get the list of Projects you are a project admin or a member based on the "canManage" or "isMember" parameter's value.
note
If neither "canManage" nor "isMember" is specified, "isMember=true" projects are returned. Supported values for "canManage" / "isMember" is : [true]Access Control:
- User Access Token & Client Access Token
- This API works only with tokens that are not scoped to a project.
summary
Get the list of Projects that you are a project admin or a member based on the "canManage" or "isMember" parameter's valueParameters-
builder: RequestBuilder
-
params: {</span>canManage<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>isMember<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Project Member
- get
Project Member(builder: RequestBuilder, params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectMember>
-
Get the requested Project Member
Access Control:
- User Access Token & Client Access Token
- The calling principal must have permission to take the read action for the specified resource.
- Example: In order to get a member of a Project, the following permission would be required:
- "action" : "read"
- "resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
- This API works only with tokens that are not scoped to a project.
summary
Get the requested Project MemberParameters-
builder: RequestBuilder
-
params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Project Policy
- get
Project Policy(builder: RequestBuilder, params: {</span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectPolicyResponse>
-
Get the requested Project Policy
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the read action for the specified resource.
-
Example: In order to read a project policy, the following permission would be required:
-
"action" : "read"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Members, Project Admins, Org Admins
-
This API works only with tokens that are not scoped to a project.
summary
Get the Project PolicyParameters-
builder: RequestBuilder
-
params: {</span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Project Policy List
- get
Project Policy List(builder: RequestBuilder, params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>projectPolicyType<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectPolicyListResponse>
-
List the Policies that can be attached to members of the Project. This list will contain all the HERE provided policies and any custom user defined policies created in the Project.
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the read action for the specified resource.
-
Example: In order to read a policy list of a Project, the following permission would be required:
-
"action" : "read"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Members, Project Admins, Org Admins
-
This API works only with tokens that are not scoped to a project.
summary
List the Policies in a ProjectParameters-
builder: RequestBuilder
-
params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>projectPolicyType<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Project Resource
- get
Project Resource(builder: RequestBuilder, params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>relation<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">"home"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"reference"</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ResourceInProjectResponse>
-
Get the resource that is linked to the requested Project.
The requested resource may be linked as either a home or a reference(link).
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the read action for the specified project
-
Example: In order to get resource "hrn:here:data::myrealm:my-catalog-0000" in the project "hrn:here:authorization::myrealm:project/my-project-0000", the following permission would be required:
-
"action" : "read"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
This API works only with tokens that are not scoped to a project.
summary
Get a resource that is linked to a Project as either a Resource Home or Resource Reference(Link)Parameters-
builder: RequestBuilder
-
params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>relation<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">"home"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"reference"</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Realm Member
- get
Realm Member(builder: RequestBuilder, params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<RealmMember>
-
Retrieve the user or application details of the member defined by memberId. Restrictions:
- The calling principal must have permission to take the readMembers action against the specified realm.
example:
In order to retrieve a member of the realm, MyRealm, a permission with the following would be required:- "action" : "readMembers"
- "resource" : "hrn:here:account::myrealm:realm/myrealm"
- This API works only with tokens that are not scoped to a project.
summary
Get realm memberParameters-
builder: RequestBuilder
-
params: {</span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Realm Members
- get
Realm Members(builder: RequestBuilder, params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>q<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>state<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<RealmMemberPageWToken>
-
Retrieve the list of members within the realm. Restrictions:
- The calling principal must have permission to take the readMembers action against the specified realm.
example:
In order to list the members of the realm, MyRealm, a permission with the following would be required:- "action" : "readMembers"
- "resource" : "hrn:here:account::myrealm:realm/myrealm"
- This API works only with tokens that are not scoped to a project.
summary
Get realm membersParameters-
builder: RequestBuilder
-
params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>q<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>state<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Resource
- get
Resource(builder: RequestBuilder, params: {</span>referenceable<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ResourceResponse>
-
Get the Resource that the caller is allowed to see based on the input query parameters
This API works only with tokens that are not scoped to a project.
summary
Get a single resourceParameters-
builder: RequestBuilder
-
params: {</span>referenceable<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Resource Actions For Project
- get
Resource Actions For Project(builder: RequestBuilder, params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<string[]>
-
Gets the actions list for the resource for the project based on the query parameters.
The list of available actions are filtered based on the relation of the resource, either home or reference with the allowed actions. This API provides a list of available actions during project workflows like linking or project policy creation.
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the read action for the specified project
-
Example: In order to get resource "hrn:here:data::myrealm:my-catalog-0000" in the project "hrn:here:authorization::myrealm:project/my-project-0000", the following permission would be required:
-
"action" : "read"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
This API works only with tokens that are not scoped to a project.
summary
Get a list of actions that are allowed for the project resourceParameters-
builder: RequestBuilder
-
params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<string[]> -
get Resource Linkability
- get
Resource Linkability(builder: RequestBuilder, params: {</span>availableToHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<LinkableResource>
-
Get the availability for linking this resource to either a project or realm.
Access Control:
-
The calling principal must have permission to take all the "requiredToMakeLinkable" actions against the service inferred via the reserved resource prefix of the resource in the path in the scope of the home project of the resource.
-
Example: In order to get the catalog linkability, the following permission would be required:
-
"action" : "manageResource"
-
"resource" : "hrn:here:data::olp-here:my-shared-catalog" This API works only with tokens that are scoped to the home project of the resource.
summary
Get the linkability of a resourceParameters-
builder: RequestBuilder
-
params: {</span>availableToHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
get Resource Projects
- get
Resource Projects(builder: RequestBuilder, params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>relation<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">"home"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"reference"</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ResourceProjectListWithPageToken>
-
Get the list of Projects that the resource belongs to or is referenced in(linked to). The returned list will only include projects that are in the caller's realm.
note
If the presented access token has a project scope, the response will include:- The home project of the resource
- The list of Projects that the resource has been made linkable to
- The include the list of Projects that the resource has been linked to
If the presented access token has no scope, the response will include:
- The list of Projects filtered out based on the membership of the caller.
Access Control for project scoped call:
-
The calling principal must have permission to take all the "requiredToMakeLinkable" actions against the service inferred via the reserved resource prefix of the resource in the path in the scope of the home project of the resource.
-
Example: In order to make a catalog linkable, the following permission would be required:
-
"action" : "manageResource"
-
"resource" : "hrn:here:data::olp-here:my-shared-catalog"
summary
Get the requested Projects that the resource belongs to or is referenced in(linked to)Parameters-
builder: RequestBuilder
-
params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>relation<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">"home"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"reference"</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Resource Type Action List
- get
Resource Type Action List(builder: RequestBuilder, params: {</span>resourceType<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-modules-olp_sdk_dataservice_api-authorizationapi#Type" class="typedoc-tsd-signature-type" data-tsd-kind="Type alias">Type</a><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<string[]>
-
Gets the actions list for the resource type based on the query parameters.
summary
Get a list of actions for the resource typeParameters-
builder: RequestBuilder
-
params: {</span>resourceType<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-modules-olp_sdk_dataservice_api-authorizationapi#Type" class="typedoc-tsd-signature-type" data-tsd-kind="Type alias">Type</a><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<string[]> -
get Resources
- get
Resources(builder: RequestBuilder, params: {</span>access<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>linkable<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>referenceable<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-modules-olp_sdk_dataservice_api-authorizationapi#Type" class="typedoc-tsd-signature-type" data-tsd-kind="Type alias">Type</a><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ResourceListDetailedWithPageToken>
-
Get a list of Resources that the caller is allowed to see based on the input query parameters.
note
If the presented access token has a project scope:-
The response will only include resources from that project or,
-
If referenceable=true or linkable=true, the response will include the resources that are available to the caller to link to the project in the token's project scope.
-
If the presented access token has no scope:
-
The response will include resources from all projects that the caller has access to.
-
For type='catalog' the response will also include resources that exist outside of any project.
-
For all other types, the response will NOT include resources that exist outside of any project.
-
For referenceable=true or linkable=true, the response will ONLY include the HERE public resources that are available to the caller to link to ANY project * This API works with tokens that are scoped and not scoped to a project.
summary
Get a list of resourcesParameters-
builder: RequestBuilder
-
params: {</span>access<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>linkable<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>referenceable<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-modules-olp_sdk_dataservice_api-authorizationapi#Type" class="typedoc-tsd-signature-type" data-tsd-kind="Type alias">Type</a><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
Optional access?: string
-
Optional limit?: number
-
Optional linkable?: boolean
-
Optional page
Token?: string -
Optional referenceable?: boolean
-
type: Type
-
Optional x
CorrelationID?: string
-
-
get Role
- get
Role(builder: RequestBuilder, params: {</span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Role>
-
Get the role identified by the provided Role HRN.
Restrictions:
- The calling principal must have permission to take the readRoles action against the specified realm.
Example: In order to retrieve a role within the realm, MyRealm, a permission with the following would be required:
- "action" : "readRoles"
- "resource" : "hrn:here:account::myrealm:realm/myrealm"
- This API works only with tokens that are not scoped to a project.
summary
Get RoleParameters-
builder: RequestBuilder
-
params: {</span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Role Entities
- get
Role Entities(builder: RequestBuilder, params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<RoleEntityPageWToken>
-
Retrieve the list of entities which have been assigned the role as identified by the provided role HRN.
Restrictions:
- The calling principal must have permission to take the readEntities action against the specified role.
Example: In order to list the entities assigned the role, _ hrn:here:authorization::myrealm:role/ROLE-c1662138-a170-4264-ba18-7b506a708c37_, a permission with the following would be required:
- "action" : "readEntities"
- "resource" : "hrn:here:authorization::myrealm:role/ROLE-c1662138-a170-4264-ba18-7b506a708c37"
- This API works only with tokens that are not scoped to a project.
summary
Get role entitiesParameters-
builder: RequestBuilder
-
params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Role Entity
- get
Role Entity(builder: RequestBuilder, params: {</span>entity<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<RoleEntity>
-
Retrieve a single entity which has been assigned the role as identified by the provided role HRN.
Restrictions:
- The calling principal must have permission to take the readEntities action against the specified role.
- Example: In order to retrieve an entity assigned the role, GroupAdmin, a permission with the following would be required:
- "action" : "readEntities"
- "resource" : "hrn:here:authorization::myrealm:role/ROLE-c1662138-a170-4264-ba18-7b506a708c37"
- This API works only with tokens that are not scoped to a project.
summary
Get a single role entityParameters-
builder: RequestBuilder
-
params: {</span>entity<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Role Permission
- get
Role Permission(builder: RequestBuilder, params: {</span>permission<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ActivePermission>
-
Get a single permission associated with the role identified by the provided Role HRN.
Restrictions:
- The calling principal must have permission to take the readPermissions action against the specified role.
- Example: In order to retrieve a single role permission for the specified role in realm MyRealm, a permission with the following would be required:
- "action" : "readPermissions"
- "resource" : "hrn:here:authorization::myrealm:role/ROLE-c1662138-a170-4264-ba18-7b506a708c37"
- This API works only with tokens that are not scoped to a project.
summary
Get Role PermissionParameters-
builder: RequestBuilder
-
params: {</span>permission<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Role Permissions
- get
Role Permissions(builder: RequestBuilder, params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<PermissionPageWToken>
-
Get the permissions associated with the role identified by the provided Role HRN.
Restrictions:
- The calling principal must have permission to take the readPermissions action against the specified role.
Example: In order to list role permissions for the specified role in realm MyRealm, a permission with the following would be required:
- "action" : "readPermissions"
- "resource" : "hrn:here:authorization::myrealm:role/ROLE-c1662138-a170-4264-ba18-7b506a708c37"
- This API works only with tokens that are not scoped to a project.
summary
Get Role PermissionsParameters-
builder: RequestBuilder
-
params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>role<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
get Roles
- get
Roles(builder: RequestBuilder, params?: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>roleName<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<RolePageWToken>
-
Retrieve the list of roles within the context of the provided realm.
Restrictions:
- The calling principal must have permission to take the readRoles action against the specified realm.
- Example: In order to list roles within the realm, MyRealm, a permission with the following would be required:
- "action" : "readRoles"
- "resource" : "hrn:here:account::myrealm:realm/myrealm"
- This API works only with tokens that are not scoped to a project.
summary
Get RolesParameters-
builder: RequestBuilder
-
Optional params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>roleName<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
leave Group
- leave
Group(builder: RequestBuilder, params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Remove the calling party from the group. This operation will also remove administrative roles from this member. This API works only with tokens that are not scoped to a project.
summary
Removes the calling party from a groupParameters-
builder: RequestBuilder
-
params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response> -
leave Project
- leave
Project(builder: RequestBuilder, params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Remove the caller from the specified Project
Access Control:
- User Access Token & Client Access Token
- Authorization : None
- This API works only with tokens that are not scoped to a project.
summary
Remove the caller from the specified ProjectParameters-
builder: RequestBuilder
-
params: {</span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response>
list Grants
- list
Grants(builder: RequestBuilder, params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resourceHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<EntityGrants>
-
List grants on user, apps, or groups. This call describes the permissions assigned to any user, app, or group in the same realm as the calling principal that has been granted access to the specified resource through an exact matching permission. Permissions granted through policies and roles are not included. Restrictions:
- The calling principal must have permission to take the listGrants OR share action against the specified resource.
- Example: In order to list grants against resource hrn:here:data:::my-shared-catalog a permission with the following would be required:
- "action" : "listGrants"
- "resource" : "hrn:here:data:::my-shared-catalog" OR
- "action" : "share"
- "resource" : "hrn:here:data:::my-shared-catalog"
- This API works only with tokens that are not scoped to a project.
summary
List grants on users, apps, or groupsParameters-
builder: RequestBuilder
-
params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resourceHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
list Project Members
- list
Project Members(builder: RequestBuilder, params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>onlyIncludeIdentities<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectMemberListWithPageToken>
-
Get the list of members of the Project
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the read action for the specified resource.
-
Example: In order to get a list of project members, the following permission would be required:
-
"action" : "read"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
This API works only with tokens that are not scoped to a project.
-
if 'onlyIncludeIdentities' query parameter is set to true, 'total' is NOT returned in Response
summary
Get the list of members of the ProjectParameters-
builder: RequestBuilder
-
params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>onlyIncludeIdentities<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">boolean</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
list Project Resources
- list
Project Resources(builder: RequestBuilder, params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>relation<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">"home"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"reference"</span><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">"artifact"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"catalog"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"pipeline"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"pipeline-template"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"schema"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"flow"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"flow-pattern"</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ResourceInProjectListWithPageToken>
-
Get the list of resources in the requested Project & referenced in(linked to) the Project
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the read action for the specified resource.
-
Example: In order to get the list of resources in the Project, the following permission would be required:
-
"action" : "read"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
This API works only with tokens that are not scoped to a project.
summary
Get the list of resources in the requested Project & referenced in(linked to) the ProjectParameters-
builder: RequestBuilder
-
params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>relation<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">"home"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"reference"</span><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">"artifact"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"catalog"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"pipeline"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"pipeline-template"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"schema"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"flow"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"flow-pattern"</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
list Realm Resources
- list
Realm Resources(builder: RequestBuilder, params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">"artifact"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"catalog"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"pipeline"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"pipeline-template"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"schema"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"flow"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"flow-pattern"</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ResourceListWithPageToken>
-
Get List of all the resources in the realm of the caller
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the listRealmResources action for the specified resource.
-
Example: In order to get a list of projects, the following permission would be required:
-
"action" : "listRealmResources"
This API works only with tokens that are scoped to a project.
summary
Get List of all the resources in the realm of the callerParameters-
builder: RequestBuilder
-
params: {</span>limit<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>type<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">"artifact"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"catalog"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"pipeline"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"pipeline-template"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"schema"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"flow"</span><span class="typedoc-tsd-signature-symbol"> | </span><span class="typedoc-tsd-signature-type">"flow-pattern"</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
make Resource Linkable
- make
Resource Linkable(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-linkableresource" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">LinkableResource</a><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<LinkableResource>
-
Adds a listing to make this resource linkable to either a project or entire realm.
The resource must belong to a project to be made linkable. Either projectHrn or realmHrn must be provided to make the resource linkable to.
Access Control:
-
The calling principal must have permission to take all the "requiredToMakeLinkable" actions against the service inferred via the reserved resource prefix of the resource in the path in the scope of the home project of the resource.
-
Example: In order to make a catalog linkable, the following permission would be required:
-
"action" : "manageResource"
-
"resource" : "hrn:here:data::olp-here:my-shared-catalog"
This API works only with tokens that are scoped to the home project of the resource.
summary
Make a resource LinkableParameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-linkableresource" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">LinkableResource</a><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
body: LinkableResource
-
resource: string
-
Optional x
CorrelationID?: string
-
-
patch Project
- patch
Project(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-patchproject" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">PatchProject</a><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectResponse>
-
Update the specified Project
Access Control:
- User Access Token & Client Access Token
- The calling principal must have permission to take the write action for the specified resource.
- Example: In order to update a Project, the following permission would be required:
- "action" : "write"
- "resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
- This API works only with tokens that are not scoped to a project.
summary
Update the specified ProjectParameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-patchproject" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">PatchProject</a><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
body: PatchProject
-
project: string
-
Optional x
CorrelationID?: string
-
remove Grant
- remove
Grant(builder: RequestBuilder, params: {</span>actionId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resourceHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Revoke access to a resource from an entity. The result of this call is that the specified entity will have any directly assigned permission to take the specified action against the specified resource removed.
Restrictions:
-
The realm of the calling principal must match the realm of the requested app.
-
The calling principal must have permission to take the removeGrant:{actionId} OR share action against the specified resource.
-
Example: In order to remove a grant for the readResource action against resource hrn:here:data:::my-shared-catalog a permission with the following would be required:
-
"action" : "removeGrant:readResource"
-
"resource" : "hrn:here:data:::my-shared-catalog" OR
-
"action" : "share"
-
"resource" : "hrn:here:data:::my-shared-catalog"
-
This API works only with tokens that are not scoped to a project.
summary
Revoke access to a resource from an entityParameters-
builder: RequestBuilder
-
params: {</span>actionId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>entityType<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resourceHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response> -
remove Group Member
- remove
Group Member(builder: RequestBuilder, params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Remove a member from the group. This operation will also remove administrative roles from this member.
Restrictions:
-
The calling principal must have permission to take the manageMembers action against the group identified by the provided group HRN.
-
Example: In order to remove a member from the group, GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a, a permission with the following would be required:
-
"action" : "manageMembers"
-
"resource" : "hrn:here:authorization::myrealm:group/GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a"
-
This API works only with tokens that are not scoped to a project.
summary
Remove a member from the group.Parameters-
builder: RequestBuilder
-
params: {</span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response> -
remove Resource Linkability
- remove
Resource Linkability(builder: RequestBuilder, params: {</span>availableToHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Remove the linkability of this resource against the requested project or realm.
note
This action does not have any impact on pre-existing links.Access Control:
- The calling principal must have permission to take all the "requiredToMakeLinkable" actions against the service inferred via the reserved resource prefix of the resource in the path in the scope of the home project of the resource.
- Example: In order to remove the catalog linkability, the following permission would be required:
- "action" : "manageResource"
- "resource" : "hrn:here:data::olp-here:my-shared-catalog"
This API works only with tokens that are scoped to the home project of the resource.
summary
Remove the linkability of a resourceParameters-
builder: RequestBuilder
-
params: {</span>availableToHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response>
resend Realm Member Invite
- resend
Realm Member Invite(builder: RequestBuilder, params: {</span>invite<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Response>
-
Resend an invitation to a new member to the realm. Restrictions:
- The calling principal must have permission to take the manageInvites action against the specified realm.
example:
In order to resend an invite to a new user to the realm, MyRealm, a permission with the following would be required:- "action" : "manageInvites"
- "resource" : "hrn:here:account::myrealm:realm/myrealm"
- This API works only with tokens that are not scoped to a project.
summary
Resend an invitation to a user in a realmParameters-
builder: RequestBuilder
-
params: {</span>invite<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
Returns Promise<Response>
search Realm Member Invites
- search
Realm Member Invites(builder: RequestBuilder, params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>group<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>q<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<InvitePageWToken>
-
Search for invitations in the realm, optionally providing a group. Restrictions:
- The calling principal must have permission to take the manageInvites action against the realm associated with the calling party.
example:
In order to list the invitations within the calling party's realm a permission with the following would be required:- "action" : "manageInvites"
- "resource" : "hrn:here:account::myrealm:realm/myrealm"
- This API works only with tokens that are not scoped to a project.
summary
Search for invitations in a realmParameters-
builder: RequestBuilder
-
params: {</span>count<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">number</span><span class="typedoc-tsd-signature-symbol">; </span>group<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>pageToken<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>q<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>realm<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
set Attached Project Policies To Member
- set
Attached Project Policies To Member(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-attachedpolicy" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">AttachedPolicy</a><span class="typedoc-tsd-signature-symbol">[]</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<AttachedPolicy[]>
-
Sets the Attached Policies list for the specified Project Member, overwriting any pre-existing Attached Policies. The request body will replace any pre-existing Policy attachment(s), and replace that list with those Policies identified in the request body.
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the manageMembers action for the specified resource.
-
Example: In order to attach a custom policy in a Project to a member, the following permissions would be required:
-
"action" : "manageMembers"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000" AND * "action" : "managePolicies"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Admins and Resource Managers
-
This API works only with tokens that are not scoped to a project.
summary
Set Attached Policies for MemberParameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-attachedpolicy" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">AttachedPolicy</a><span class="typedoc-tsd-signature-symbol">[]</span><span class="typedoc-tsd-signature-symbol">; </span>member<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
update Group
- update
Group(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-group" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">Group</a><span class="typedoc-tsd-signature-symbol">; </span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<Group>
-
Update the group identified by the provided group HRN by updating all writable group fields including name and description.
Restrictions:
-
The calling principal must have permission to take the updateGroup action against the group identified by the provided group HRN.
-
Example: In order to modify the group, GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a, a permission with the following would be required:
-
"action" : "updateGroup"
-
"resource" : "hrn:here:authorization::myrealm:group/GROUP-8e270653-f592-45a8-88d7-46d409ccfa8a"
-
This API works only with tokens that are not scoped to a project.
summary
Update groupParameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-group" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">Group</a><span class="typedoc-tsd-signature-symbol">; </span>groupId<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
body: Group
-
group
Id: string
-
-
update Project Policy
- update
Project Policy(builder: RequestBuilder, params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-projectpolicyrequestbody" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">ProjectPolicyRequestBody</a><span class="typedoc-tsd-signature-symbol">; </span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<ProjectPolicyResponse>
-
Update the requested custom policy in the Project
Access Control:
-
User Access Token & Client Access Token
-
The calling principal must have permission to take the managePolicies action for the specified resource.
-
Example: In order to update a custom policy in a Project, the following permission would be required:
-
"action" : "managePolicies"
-
"resource" : "hrn:here:authorization::myrealm:project/my-project-0000"
-
In the Project workflow, the above permission is granted to all Project Admins and Resource Managers
-
This API works only with tokens that are not scoped to a project.
summary
Update the requested Project PolicyParameters-
builder: RequestBuilder
-
params: {</span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-projectpolicyrequestbody" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">ProjectPolicyRequestBody</a><span class="typedoc-tsd-signature-symbol">; </span>policy<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>project<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
body: ProjectPolicyRequestBody
-
policy: string
-
project: string
-
-
update Resource Linkability
- update
Resource Linkability(builder: RequestBuilder, params: {</span>availableToHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-linkableresource" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">LinkableResource</a><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}): Promise<LinkableResource>
-
Update the linkability of this resource against the requested project or realm.
Access Control: * The calling principal must have permission to take all the "requiredToMakeLinkable" actions against the service inferred via the reserved resource prefix of the resource in the path in the scope of the home project of the resource.
- Example: In order to update the catalog linkability, the following permission would be required:
- "action" : "manageResource"
- "resource" : "hrn:here:data::olp-here:my-shared-catalog"
This API works only with tokens that are scoped to the home project of the resource.
summary
Update the linkability of a resourceParameters-
builder: RequestBuilder
-
params: {</span>availableToHrn<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>body<span class="typedoc-tsd-signature-symbol">: </span><a href="sdk-for-typescript-interfaces-olp_sdk_dataservice_api-authorizationapi-linkableresource" class="typedoc-tsd-signature-type" data-tsd-kind="Interface">LinkableResource</a><span class="typedoc-tsd-signature-symbol">; </span>resource<span class="typedoc-tsd-signature-symbol">: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">; </span>xCorrelationID<span class="typedoc-tsd-signature-symbol">?: </span><span class="typedoc-tsd-signature-type">string</span><span class="typedoc-tsd-signature-symbol">}
-
available
To Hrn: string -
body: LinkableResource
-
resource: string
-
Optional x
CorrelationID?: string
-
On this page
- Active Permission
- Allowed Actions
- App Info
- Attached Policy
- Entity Grant
- Entity Grants
- Entity Id
- Group
- Group Info
- Group Member
- Group Member Info
- Group Member PageWToken
- Group PageWToken
- Invite PageWToken
- Linkable Resource
- Linkable Resource List
- List Invite Response
- PageWToken
- Page With Token
- Page With Token No Total
- Patch Project
- Permission PageWToken
- Project List With Page Token
- Project Member
- Project Member Group Info
- Project Member List With Page Token
- Project Policy List Response
- Project Policy Request Body
- Project Policy Request Body Permissions
- Project Policy Response
- Project Policy Response Permissions
- Project Request
- Project Response
- Realm Auth Invite Response
- Realm Authorization Invite
- Realm Member
- Realm Member Info
- Realm Member PageWToken
- Resource In Project List With Page Token
- Resource In Project Response
- Resource Link Action Body
- Resource List Detailed With Page Token
- Resource List With Page Token
- Resource Project List With Page Token
- Resource Project Response
- Resource Relation Response
- Resource Response
- Resource Response Detailed
- Role
- Role Entity
- Role Entity Info
- Role Entity PageWToken
- Role PageWToken
- User Info
- Effect Enum
- Entity Type Enum
- Identity Type Enum
- Relation
- Resource Relation
- State Enum
- Type
- add Grant
- add Group Member
- add Project Member
- add Project Resource Relation
- add Role Entity
- attach Project Policy To Member
- cancel Realm Member Invite
- check Project Existance
- create Group
- create Project
- create Project Policy
- create Realm Member Invite
- delete Group
- delete Project
- delete Project Member
- delete Project Policy
- delete Project Resource Reference
- delete Role Entity
- detach Project Policy From Member
- get All Project List
- get All Project Members With Attached Policy
- get Attached Project Policies For Member
- get Attached Project Policy For Member
- get Entity Group Membership
- get Entity Managed Groups
- get Grant
- get Grants
- get Group
- get Group Member
- get Group Members
- get Group Roles
- get Groups
- get List Of Ways Resource Is Linkable
- get My Groups
- get My Roles
- get Project
- get Project List
- get Project Member
- get Project Policy
- get Project Policy List
- get Project Resource
- get Realm Member
- get Realm Members
- get Resource
- get Resource Actions For Project
- get Resource Linkability
- get Resource Projects
- get Resource Type Action List
- get Resources
- get Role
- get Role Entities
- get Role Entity
- get Role Permission
- get Role Permissions
- get Roles
- leave Group
- leave Project
- list Grants
- list Project Members
- list Project Resources
- list Realm Resources
- make Resource Linkable
- patch Project
- remove Grant
- remove Group Member
- remove Resource Linkability
- resend Realm Member Invite
- search Realm Member Invites
- set Attached Project Policies To Member
- update Group
- update Project Policy
- update Resource Linkability
The relation of the resource with the Project.