| DELETE | /user/{brand}/{posCode}/{userId}/authorize | Delete the authorization for the given external user and for the given POS |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class DeleteUserAuth
{
/**
* User's UserID (GUID). E.g. '731cd7f3-a781-48bf-b43d-310273895ce2'
*/
@ApiMember(Description="User's UserID (GUID). E.g. '731cd7f3-a781-48bf-b43d-310273895ce2'", IsRequired=true)
public String userId = null;
/**
* Brand Trigram, e.g. CAR, IWC, VAC
*/
@ApiMember(Description="Brand Trigram, e.g. CAR, IWC, VAC", IsRequired=true)
public String brand = null;
/**
* Pos code
*/
@ApiMember(Description="Pos code")
public String posCode = null;
public String getUserId() { return userId; }
public DeleteUserAuth setUserId(String value) { this.userId = value; return this; }
public String getBrand() { return brand; }
public DeleteUserAuth setBrand(String value) { this.brand = value; return this; }
public String getPosCode() { return posCode; }
public DeleteUserAuth setPosCode(String value) { this.posCode = value; return this; }
}
public static class DeleteUserAuthResponse
{
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /user/{brand}/{posCode}/{userId}/authorize HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{}