Delete an account group

delete

/services/rest/connect/v1.4/accountGroups/{id}

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : No content
Type: null
Title: No content
No content returned on delete
Back to Top

Examples

Use DELETE with the following syntax to delete an account group:

https://your_site_interface/services/rest/connect/version/accountGroups/accountGroup_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100131

Response example

The status 200 OK is returned. Then getting the list of account group records returns the following:

{
    "items": [
        {
            "id": 100001,
            "lookupName": "rntaccess group",
            "links": [
                {
                    "rel": "canonical",
                    "href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100001"
                }
            ]
        },
        {
            "id": 100055,
            "lookupName": "group1",
            "links": [
                {
                    "rel": "canonical",
                    "href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100055"
                }
            ]
        },
        {
            "id": 100128,
            "lookupName": "NewAccountGroup",
            "links": [
                {
                    "rel": "canonical",
                    "href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100128"
                }
            ]
        },
    "hasMore": false,
    "links": [
        {
            "rel": "canonical",
            "href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups"
        },
        {
            "rel": "describedby",
            "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/accountGroups",
            "mediaType": "application/schema+json"
        },
        {
            "rel": "search-form",
            "href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups-search-form"
        },
        {
            "rel": "self",
            "href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups"
        }
    ]
}

Note:

Account group 100131 no longer exists.
Back to Top