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": "bc949821-0c2f-47cb-bf39-49fc64c11358",
  "ObjectId": "da8f8666-28e8-4698-91d2-78f60c7dd3da"
}

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>da8f8666-28e8-4698-91d2-78f60c7dd3da</ObjectId>
  <TenantId>bc949821-0c2f-47cb-bf39-49fc64c11358</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.