Member Batch Deletion (Custom Role)API Explorer

Introduction

API Introduction

Member Batch Deletion API (Custom Role) enables you to batch delete members under a custom role.

API Calling

The API enables you to batch delete members under a custom role.

Request URL: https://api.jodoo.com/api/v5/corp/role/remove_members

Request Frequency: 10 times/second

Request Method: POST

Request Parameters:

Parameter

Type

Required

Description

role_no

Number

Yes

Role number. For example, 3.

usernames

String

Yes

Employee number

Sample Request:

{
    "role_no": 3,
    "usernames": [
        "fr0005",
        "fr008"
    ]
}

Response:

Parameter

Type

Required

Description

status

String

No

Return request results

Sample Response:

{
    "status": "success"
}

Was this information helpful?
Yes
NoNo
Need more help? Contact support