Blazor Diffusion

<back to all web services

DeleteCreativeArtist

Creatives
Requires Authentication
Required role:Moderator

// @ValidateRequest(Validator="HasRole(`Moderator`)")
export class DeleteCreativeArtist implements IDeleteDb<CreativeArtist>
{
    public id?: number;
    public ids?: number[];

    public constructor(init?: Partial<DeleteCreativeArtist>) { (Object as any).assign(this, init); }
}

TypeScript DeleteCreativeArtist DTOs

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

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsonl/oneway/DeleteCreativeArtist HTTP/1.1 
Host: blazordiffusion.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id":0,"ids":[0]}