All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.slack.api.methods.request.admin.roles.AdminRolesRemoveAssignmentsRequest Maven / Gradle / Ivy

There is a newer version: 1.39.0
Show newest version
package com.slack.api.methods.request.admin.roles;

import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * https://api.slack.com/methods/admin.roles.removeAssignments
 */
@Data
@Builder
public class AdminRolesRemoveAssignmentsRequest implements SlackApiRequest {

    /**
     * Authentication token bearing required scopes.
     */
    private String token;

    /**
     * ID of the role to which users will be assigned
     */
    private String roleId;

    /**
     * List of the entity IDs for which roles will be revoked. These can be Org IDs, Team IDs or Channel IDs
     */
    private List entityIds;

    /**
     * List of IDs of the users whose roles will be revoked
     */
    private List userIds;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy