TechStacks!

<back to all web services

RemoveOrganizationMember

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

class RemoveOrganizationMember implements IDelete, IConvertible
{
    int? organizationId;
    int? userId;

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

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

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

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

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

Dart RemoveOrganizationMember 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}/members/{UserId} HTTP/1.1 
Host: techstacks.io 
Accept: text/jsonl