DELETE api/admin/users/{userId}/county-assignments
This method will delete an existing county assignment for user
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
User id |
integer |
Required |
Body Parameters
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
text/html
Sample:
[1,2]
application/xml, text/xml
Sample:
<ArrayOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <long>1</long> <long>2</long> </ArrayOflong>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of
Collection of UserCountyAssignmentPoName | Description | Type | Additional information |
---|---|---|---|
CountyName | string |
None. |
|
UserId | integer |
Required |
|
CountyId | integer |
Required |
|
AssignmentDate | date |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "countyName": "sample string 1", "userId": 2, "countyId": 3, "assignmentDate": "2025-05-20T15:10:32.0099363-05:00", "id": 5 }, { "countyName": "sample string 1", "userId": 2, "countyId": 3, "assignmentDate": "2025-05-20T15:10:32.0099363-05:00", "id": 5 } ]
text/html
Sample:
[{"countyName":"sample string 1","userId":2,"countyId":3,"assignmentDate":"2025-05-20T15:10:32.0099363-05:00","id":5},{"countyName":"sample string 1","userId":2,"countyId":3,"assignmentDate":"2025-05-20T15:10:32.0099363-05:00","id":5}]
application/xml, text/xml
Sample:
<ArrayOfUserCountyAssignmentPo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos"> <UserCountyAssignmentPo> <Id xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.Core">5</Id> <AssignmentDate xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">2025-05-20T15:10:32.0099363-05:00</AssignmentDate> <CountyId xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">3</CountyId> <UserId xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">2</UserId> <CountyName>sample string 1</CountyName> </UserCountyAssignmentPo> <UserCountyAssignmentPo> <Id xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.Core">5</Id> <AssignmentDate xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">2025-05-20T15:10:32.0099363-05:00</AssignmentDate> <CountyId xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">3</CountyId> <UserId xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">2</UserId> <CountyName>sample string 1</CountyName> </UserCountyAssignmentPo> </ArrayOfUserCountyAssignmentPo>