v1

latestOpenAPI 3.0.32026-07-232011984.8 KB
role

Create a role

post/roles

Request body

logTypeAccessstring[]

The log types that the role can or cannot access, according to the logTypeAccessKind field. This field should be omitted if logTypeAccessKind has a value of ALLOW_ALL or DENY_ALL

logTypeAccessKind'ALLOW' | 'ALLOW_ALL' | 'DENY' | 'DENY_ALL'

Defines the role's access to log types. This field is required and has effect only if the datalake RBAC feature is enabled.

namestring required

The name of the role

permissionsstring[] required

Response

OK response.

createdAtstring
idstring

ID of the role

logTypeAccessstring[]

The log types that the role can or cannot access, according to the logTypeAccessKind field. This field should be omitted if logTypeAccessKind has a value of ALLOW_ALL or DENY_ALL

logTypeAccessKind'ALLOW' | 'ALLOW_ALL' | 'DENY' | 'DENY_ALL' required

Defines the role's access to log types. This field is required and has effect only if the datalake RBAC feature is enabled.

namestring required

The name of the role

permissionsstring[] required
updatedAtstring