Disabling Portal User via Rest API workflow component not working as Expected

Portal user creates under step5 (child workflow). Earlier step 6, 7 and 8 were part of the child workflow that I have moved to the parent workflow.

Step 6: Search the user based on his email address and update the ID in a attribute.

Step 7: Some other business functionality assigns the roles to the user. – Works fine in the child workflow.

Step 8: Invoke rest API to disable the user.

{{base_url}}api/users/{{ attribute.assignment_id }}

{

“user”: {

“name”: “A1BC X1YZ”,

“status”: “Disabled”

}

}

Note: Name get updates in the child workflow but status does not update.