Richemont.Booster2.PublicApi

<back to all web services

DeleteUserAuth

Requires Authentication
The following routes are available for this service:
DELETE/user/{brand}/{posCode}/{userId}/authorizeDelete the authorization for the given external user and for the given POS
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.Security.ServiceModel

Namespace Global

    Namespace Richemont.Booster2.PublicApi.Security.ServiceModel

        Public Partial Class 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)>
            Public Overridable Property userId As String

            '''<Summary>
            '''Brand Trigram, e.g. CAR, IWC, VAC
            '''</Summary>
            <ApiMember(Description:="Brand Trigram, e.g. CAR, IWC, VAC", IsRequired:=true)>
            Public Overridable Property brand As String

            '''<Summary>
            '''Pos code
            '''</Summary>
            <ApiMember(Description:="Pos code")>
            Public Overridable Property posCode As String
        End Class

        Public Partial Class DeleteUserAuthResponse
        End Class
    End Namespace
End Namespace

VB.NET DeleteUserAuth DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + 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

{}