| DELETE | /user/{brand}/{posCode}/{userId}/authorize | Delete the authorization for the given external user and for the given POS |
|---|
namespace Richemont.Booster2.PublicApi.Security.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type DeleteUserAuthResponse() =
class end
[<AllowNullLiteral>]
type DeleteUserAuth() =
///<summary>
///User's UserID (GUID). E.g. '731cd7f3-a781-48bf-b43d-310273895ce2'
///</summary>
[<ApiMember(Description="User's UserID (GUID). E.g. '731cd7f3-a781-48bf-b43d-310273895ce2'", IsRequired=true)>]
member val userId:String = null with get,set
///<summary>
///Brand Trigram, e.g. CAR, IWC, VAC
///</summary>
[<ApiMember(Description="Brand Trigram, e.g. CAR, IWC, VAC", IsRequired=true)>]
member val brand:String = null with get,set
///<summary>
///Pos code
///</summary>
[<ApiMember(Description="Pos code")>]
member val posCode:String = null with get,set
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
{}