DELETE Api/TeamLeader/ReamoveUserById?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

None.

Response Information

Resource Description

TeamLeaderViewReturn
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Role

string

None.

selecte

boolean

None.

id

integer

None.

teamUsersDetails

Collection of TeamLeaderViewReturn

None.

Message

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'SGACoreApp.Models.TeamLeaderViewReturn'. Path 'teamUsersDetails'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'SGACoreApp.Models.TeamLeaderViewReturn'. Path 'teamUsersDetails'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[SGACoreApp.Models.TeamLeaderViewReturn, SGACoreApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[SGACoreApp.Models.TeamLeaderViewReturn, SGACoreApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

multipart/form-data

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'multipart/form-data'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[SGACoreApp.Models.TeamLeaderViewReturn, SGACoreApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.