| DELETE | /user/{brand}/{posCode}/{userId}/authorize | Delete the authorization for the given external user and for the given POS |
|---|
import Foundation
import ServiceStack
public class DeleteUserAuth : Codable
{
/**
* 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 var userId:String
/**
* Brand Trigram, e.g. CAR, IWC, VAC
*/
// @ApiMember(Description="Brand Trigram, e.g. CAR, IWC, VAC", IsRequired=true)
public var brand:String
/**
* Pos code
*/
// @ApiMember(Description="Pos code")
public var posCode:String
required public init(){}
}
public class DeleteUserAuthResponse : Codable
{
required public init(){}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}