EMS.Services.IEMSResourceRequest.Delete
Delphi
function Delete(const AContext: IEMSResourceRequestContext; const AResourceName: string;
const ASegments: TEMSResourceRequestSegments; const AQueryParams: TEMSResourceRequestQueryParams): IEMSResourceResponseContent;
C++
virtual _di_IEMSResourceResponseContent __fastcall Delete(const _di_IEMSResourceRequestContext AContext, const System::UnicodeString AResourceName, const System::DynamicArray<System::UnicodeString> ASegments, const System::DynamicArray<System::Generics::Collections::TPair__2<System::UnicodeString,System::UnicodeString> > AQueryParams) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | IEMSResourceRequest |
Description
Executes a DELETE resource request. Delete requests the server to delete the resource. The method type of the resource request is delete.
The Delete method receives the following input parameters:
AContext
: Context of the DELETE resource request.AResourceName
: Resource name identifier to execute the resource request. The built-in resource names are Users, Groups, and Installations.ASegments
: Array of URL segments of the EMS Resource endpoint to execute the request.AQueryParams
: Query parameters used to execute the DELETE resource request.AQueryParams
may benull
.
Delete returns an IEMSResourceResponseContent with the response from the EMS Server.