Class PermissionsApi
Inheritance
System.Object
PermissionsApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Account.Organizations.Groups.Permissions
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class PermissionsApi
Constructors
PermissionsApi(IBitmovinApiClientFactory)
Declaration
public PermissionsApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of PermissionsApi
Declaration
public static BitmovinApiBuilder<PermissionsApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<PermissionsApi> |
Methods
CreateAsync(String, String, Acl)
Set Group Permissions
Declaration
public Task<Acl> CreateAsync(string organizationId, string groupId, Acl acl)
Parameters
Type | Name | Description |
---|---|---|
System.String | organizationId | Id of the organization (required) |
System.String | groupId | Id of the group (required) |
Acl | acl | Group Permissions |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Acl> |
DeleteAsync(String, String, String)
Delete Permission
Declaration
public Task<BitmovinResponse> DeleteAsync(string organizationId, string groupId, string permissionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | organizationId | Id of the organization (required) |
System.String | groupId | Id of the group (required) |
System.String | permissionId | Id of the permission (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
ListAsync(String, String)
Get Group Permissions
Declaration
public Task<PaginationResponse<Acl>> ListAsync(string organizationId, string groupId)
Parameters
Type | Name | Description |
---|---|---|
System.String | organizationId | Id of the organization (required) |
System.String | groupId | Id of the group (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<Acl>> |