DELETE v1/Surveys/{surveyId}/SamplingPoint/{samplingPointId}/Image
User roles allowed to make this request:
DomainAdministrator
PowerUser
RegularUser
LimitedUser
SampleManager
Permissions required to make this request:
SamplingPointImage.Delete
SamplingPointImage.Read
SamplingPoint.Read
Survey.Read
Has survey type usage restrictions capi
Method used to delete the sampling point image.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
surveyId |
The id of the survey the sampling point belongs to |
string |
Required |
samplingPointId |
The id of the sampling point associated with the image |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A HttpResponseMessage with HttpStatusCode.NoContent if deleted, and with HttpStatusCode.NotFound if not found
Response Message
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |