Note that user_id parameter is not username, but user ID parameter that you can receive from GET members call.
project_member_delete( auth_token = NULL, project_id = NULL, user_id = NULL, ... )
auth_token | auth token |
---|---|
project_id | ID of a project you want to access. |
user_id | ID of the user you wish to remove. |
... | parameters passed to sbgapi function |
parsed list of the returned json
token = '420b4672ebfc43bab48dc0d18a32fb6f' req = project_member_delete(token, project_id = '7f7a72d0-da77-4f51-9416-99f14f7316ab', user_id = '08890148-6d9e-4a10-b284-924228d3f99a')#> Error: HTTP Status 404: /1.1/project/7f7a72d0-da77-4f51-9416-99f14f7316ab/members/08890148-6d9e-4a10-b284-924228d3f99a not found