This endpoint allows rejection of contacts from an administrative session currently in the approval phase.
Return: JSON object containing success or failure response.
-------------------- Request --------------------
rejectContacts(
"Ids"=["1
"],
"RequestExtraData"= {
"MessageNumber"= 6,
"SessionId": "6ca47fbc-1d59-46d7-8176-aef8733f24ce"
}
)
-------------------- Response --------------------
{
"FunctionData": {
"StatusCode": 0,
"StatusCodeDescription": "Contacts rejected successfully"
},
"Meta": {
"AccessToken": "e59612cdcb1242af750f4f8cc9032a4d44bfdb40b00bd19c5e5ef5d538fc74a0",
"Destination": "0473aa0362d3998baab6880822e838133a061c379b8e146bcded46deb4805aa83139a3c578293161bca7926e53ef20888977f4030c38d42aae10b36c3309c0f766",
"Source": "762b6aa122a0ba22557a0cf5ea0c49953e64f7485ffb7857f26541f748e36e83b2e4cca777569511214fcf68f3301a322bbdf15e7479ae0d695fcf40c30a81ff56",
"Time": "2025-09-30 15:25:43.678"
}
}
### Error Responses
| Error Type | Http Code | GK8 error code | Reason / Description | Example Response |
|------------------|-----------|----------------|-----------------------------------------------------------------------|----------------------------------------|
| Backend Response | 400 | 1 | Contacts do not exist | "StatusCode": 1, "Ids": ["contact ID"] |
| Backend Response | 400 | 2 | Contacts not in current session | "StatusCode": 2, "Ids": ["contact ID"] |
| Backend Response | 400 | 3 | Not a valid approver | "StatusCode": 3 |
| Backend Response | 400 | 4 | Already approved | "StatusCode": 4 |
| Backend Response | 400 | 5 | Contacts not user created | "StatusCode": 5, "Ids": ["contact ID"] |
| Backend Response | 400 | 6 | Contacts cannot be in policy smart contract limitation configurations | "StatusCode": 6, "Ids": ["contact ID"] |
request_extra_dataobjectadditional data for the administrative request
contact_idsarraydefines the contact list for the new group