POST (Header:DELETE) api.ashx/v2/groups/{groupid}/members/{userid}.{json|xml}
DELETE a group membership from a group by user id. This endpoint is deprecated, use /groups/{groupid}/members/users/{userid}.{format} instead.
Scopes
Groups › Modify Members groups.users.modify
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
GroupId | int | Group Id | Required | |||
RoleId | int? | Either RoleId or Rolename is required when removing a role. | Optional | |||
Rolename | string | Either RoleId or Rolename is required when removing a role. | Optional | |||
UserId | int? | Either UserId or Username is required when removing a user. | Optional | |||
Username | string | Either UserId or Username is required when removing a user. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/groups/{groupid}/members/{userid}.json', data: { 'groupid': '6', 'userid': '6' } }).then(function(response) { // use response });
Example Responses
JSON
{ "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>
POST (Header:DELETE) api.ashx/v2/groups/{groupid}/members/{username}.{json|xml}
DELETE a group membership from a group by username. This endpoint is deprecated, use /groups/{groupid}/members/users/{username}.{format} instead.
Scopes
Groups › Modify Members groups.users.modify
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
GroupId | int | Group Id | Required | |||
RoleId | int? | Either RoleId or Rolename is required when removing a role. | Optional | |||
Rolename | string | Either RoleId or Rolename is required when removing a role. | Optional | |||
UserId | int? | Either UserId or Username is required when removing a user. | Optional | |||
Username | string | Either UserId or Username is required when removing a user. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/groups/{groupid}/members/{username}.json', data: { 'groupid': '6', 'username': 'username' } }).then(function(response) { // use response });
Example Responses
JSON
{ "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>
POST (Header:DELETE) api.ashx/v2/groups/{groupid}/members/roles/{roleid}.{json|xml}
DELETE a group membership from a group by role id.
Scopes
Groups › Modify Members groups.users.modify
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
GroupId | int | Group Id | Required | |||
RoleId | int? | Either RoleId or Rolename is required when removing a role. | Optional | |||
Rolename | string | Either RoleId or Rolename is required when removing a role. | Optional | |||
UserId | int? | Either UserId or Username is required when removing a user. | Optional | |||
Username | string | Either UserId or Username is required when removing a user. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/groups/{groupid}/members/roles/{roleid}.json', data: { 'groupid': '6', 'roleid': '6' } }).then(function(response) { // use response });
Example Responses
JSON
{ "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>
POST (Header:DELETE) api.ashx/v2/groups/{groupid}/members/roles/{rolename}.{json|xml}
DELETE a group membership from a group by role name.
Scopes
Groups › Modify Members groups.users.modify
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
GroupId | int | Group Id | Required | |||
RoleId | int? | Either RoleId or Rolename is required when removing a role. | Optional | |||
Rolename | string | Either RoleId or Rolename is required when removing a role. | Optional | |||
UserId | int? | Either UserId or Username is required when removing a user. | Optional | |||
Username | string | Either UserId or Username is required when removing a user. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/groups/{groupid}/members/roles/{rolename}.json', data: { 'groupid': '6', 'rolename': 'rolename' } }).then(function(response) { // use response });
Example Responses
JSON
{ "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>
POST (Header:DELETE) api.ashx/v2/groups/{groupid}/members/users/{userid}.{json|xml}
DELETE a group membership from a group by user id.
Scopes
Groups › Modify Members groups.users.modify
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
GroupId | int | Group Id | Required | |||
RoleId | int? | Either RoleId or Rolename is required when removing a role. | Optional | |||
Rolename | string | Either RoleId or Rolename is required when removing a role. | Optional | |||
UserId | int? | Either UserId or Username is required when removing a user. | Optional | |||
Username | string | Either UserId or Username is required when removing a user. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/groups/{groupid}/members/users/{userid}.json', data: { 'groupid': '6', 'userid': '6' } }).then(function(response) { // use response });
Example Responses
JSON
{ "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>
POST (Header:DELETE) api.ashx/v2/groups/{groupid}/members/users/{username}.{json|xml}
DELETE a group membership from a group by username.
Scopes
Groups › Modify Members groups.users.modify
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
GroupId | int | Group Id | Required | |||
RoleId | int? | Either RoleId or Rolename is required when removing a role. | Optional | |||
Rolename | string | Either RoleId or Rolename is required when removing a role. | Optional | |||
UserId | int? | Either UserId or Username is required when removing a user. | Optional | |||
Username | string | Either UserId or Username is required when removing a user. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/groups/{groupid}/members/users/{username}.json', data: { 'groupid': '6', 'username': 'username' } }).then(function(response) { // use response });
Example Responses
JSON
{ "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>