SAP Knowledge Base Article - Public

3716650 - Add and Remove user from rbp group using odata api

Symptom

  • Users are unable to find any APIs to delete or revoke a user from the RBP group using OData API.

Environment

  • OData API Framework

Reproducing the Issue

  1. Attempt to revoke or delete a user from an RBP group using OData API.
  2. Observe that no API is available for performing this action.

Cause

  • Relevant documentation was provided to address the issue.

Resolution

  1. Use the `updateStaticGroup` function to add or remove users from a static permission group.
  2. Note that this functionality is applicable only to static groups when performing user additions or removals.

  1. To add a user to a static group, use the following example:

a href="https://example.com/odata/v2/updateStaticGroup?groupId=1234L&ction='add'&userIds='cgrant1'" Add user to static group /a

2. To remove a user from a static group, use the following example:

a href="https://example.com/odata/v2/updateStaticGroup?groupId=1234L&ction='remove'&userIds='cgrant1'" Remove user from static group /a

    See Also

    Function Import | SAP Help Portal

    Keywords

    odata api, rbp group, revoke user, delete user, updateStaticGroup, static permission group, add user, remove user, function import, sap successfactors, api reference guide , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem

    Product

    SAP SuccessFactors HCM Core 2511 ; SAP SuccessFactors HCM Suite 2511 ; SAP SuccessFactors Platform all versions