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
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Richemont.Booster2.PublicApi.Security.ServiceModel;

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 virtual string userId { get; set; }

        ///<summary>
        ///Brand Trigram, e.g. CAR, IWC, VAC
        ///</summary>
        [ApiMember(Description="Brand Trigram, e.g. CAR, IWC, VAC", IsRequired=true)]
        public virtual string brand { get; set; }

        ///<summary>
        ///Pos code
        ///</summary>
        [ApiMember(Description="Pos code")]
        public virtual string posCode { get; set; }
    }

    public partial class DeleteUserAuthResponse
    {
    }

}

C# DeleteUserAuth DTOs

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

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

{
	
}