Change scope resource assignments

Use this procedure to assign resources to a scope, remove resource assignments from a scope, or both.

Changing scope resource assignments using REST APIs
  1. Obtian the scope ID:

    GET /rest/scopes

  2. Change the resource assignments for that scope:

    PATCH /rest/scopes/{id}/resource-assignments


[NOTE: ]

NOTE: A single resource can be assigned to and unassigned from multiple scopes through a PATCH API request on the resource with modifications to the scopeUris attribute.