PUT v1/SurveyGroups/{surveyGroupId}/UnassignDirectory

User roles allowed to make this request: DomainAdministrator PowerUser LocalDomainManager GlobalDomainManager

Permissions required to make this request: SurveyGroupAssignment.Write SurveyGroupAssignment.Read SurveyGroup.Read

Unassign directory user from survey group

Request Information

URI Parameters

NameDescriptionTypeAdditional information
surveyGroupId

integer

Required

Body Parameters

UnassignDirectoryIdentityModel
NameDescriptionTypeAdditional information
TenantId

Tenant id

globally unique identifier

None.

ObjectId

Object id

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": "e28d37dd-e19f-4a19-b67d-6a547c2c0fdb",
  "ObjectId": "c1603ce1-a8bd-4ce8-aa6e-75fbe72e5ce6"
}

application/xml, text/xml

Sample:
<UnassignDirectoryIdentityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">
  <ObjectId>c1603ce1-a8bd-4ce8-aa6e-75fbe72e5ce6</ObjectId>
  <TenantId>e28d37dd-e19f-4a19-b67d-6a547c2c0fdb</TenantId>
</UnassignDirectoryIdentityModel>

application/x-www-form-urlencoded

Sample:
TenantId=Guid&ObjectId=Guid

multipart/form-data

Sample:

Sample not available.

Response Information

Resource Description

Response Message

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.