---
title: "Unlink an account from a group"
method: POST
path: "/pws/pws_unlink_account_group/"
tags: ["Group"]
---

# Unlink an account from a group

`POST /pws/pws_unlink_account_group/`

You can use this API to unlink an existing account from one or multiple groups. When an account is unlinked, it is updated immediately, and all the attributes associated with the group container will no longer apply to the account. These attributes will not be analyzed during the authorization flow moving forward.

## Request body

- PwsUnLinkAccountGroupModel
  - `acc_id` integer, required — account id
  - `api_call_unique_identifier` string, required — Unique number that must be passed at each API request. Identifier to make each API request unique
  - `client_id` integer, required — Unique identifier for the client which Paymentology will provide at outset
  - `group_id` string, required — comma separated group Id's.
  - `user_id` string — User Id of the Customer who triggered the API request.
  - `remarks` string — Remarks for API request

## Response `200`

Successful Response

- UnlinkAccountGroupResponse
  - `header` UnLinkAccountGroupHeader
    - `error_id` integer — error id
    - `error_desc` string — error message
  - `body` UnLinkAccountGroupBody
    - `message` string — message

## Other responses

- `404` — Webservices does not exist
- `500` — Internal Server error

---

[API](https://skmtc.net/paymentology/apis/payapi-docs.md) · [All operations](https://skmtc.net/paymentology/apis/payapi-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymentology/payapi-docs/revisions/a675891b0365/schema)
