TechStacks!

<back to all web services

RemoveOrganizationLabel

Organization
Requires Authentication
The following routes are available for this service:
DELETE/orgs/{OrganizationId}/labels/{Slug}
import 'package:servicestack/servicestack.dart';

class RemoveOrganizationLabel implements IDelete, IConvertible
{
    int? organizationId;
    String? slug;

    RemoveOrganizationLabel({this.organizationId,this.slug});
    RemoveOrganizationLabel.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        organizationId = json['organizationId'];
        slug = json['slug'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'organizationId': organizationId,
        'slug': slug
    };

    getTypeName() => "RemoveOrganizationLabel";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'techstacks.io', types: <String, TypeInfo> {
    'RemoveOrganizationLabel': TypeInfo(TypeOf.Class, create:() => RemoveOrganizationLabel()),
});

Dart RemoveOrganizationLabel 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.

DELETE /orgs/{OrganizationId}/labels/{Slug} HTTP/1.1 
Host: techstacks.io 
Accept: text/jsonl