(Preview) Manage registered model permission
post
/20260430/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/registered-models/{registeredModelKey}/actions/managePermission
(Preview) Grants or revokes READ, MANAGE, or ADMIN on a registered model's dedicated volume. The model-to-volume link is resolved on the server; no volume name is accepted from the client.
Request
Path Parameters
-
aiDataPlatformId(required): string
Minimum Length:
1Maximum Length:500The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance. -
registeredModelKey(required): string
Minimum Length:
1Maximum Length:255The fully-qualified registered model name in the format. . .
Header Parameters
-
opc-request-id: string
Maximum Length:
255Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
The grant or revoke details for the registered model.
Root Schema : ManageRegisteredModelPermissionDetails
Type:
objectInformation to grant or revoke permissions on a registered model's dedicated volume.
Show Source
-
assignRegisteredModelPermissionDetails:
object AssignRegisteredModelPermissionDetails
The permissions assigned on the registered model to assignees.
-
revokeRegisteredModelPermissionDetails:
object RevokeRegisteredModelPermissionDetails
The permissions revoked from assignees for a registered model.
Nested Schema : AssignRegisteredModelPermissionDetails
Type:
objectThe permissions assigned on the registered model to assignees.
Show Source
-
assignees(required):
object PermissionAssignees
The information about the assignees
-
permissions(required):
array permissions
Minimum Number of Items:
1Maximum Number of Items:100The permissions assigned to the assignees.
Nested Schema : RevokeRegisteredModelPermissionDetails
Type:
objectThe permissions revoked from assignees for a registered model.
Show Source
-
assignees(required):
object PermissionAssignees
The information about the assignees
-
permissions(required):
array permissions
Minimum Number of Items:
1Maximum Number of Items:100The permissions revoked from the assignees.
Nested Schema : PermissionAssignees
Type:
objectThe information about the assignees
Show Source
-
targets(required):
array targets
Minimum Number of Items:
1Maximum Number of Items:100Unique Items Required:trueThe names/ocids of the users, groups or roles. -
type(required):
string
Allowed Values:
[ "USER", "ROLE", "GROUP" ]Grantee type.
Nested Schema : permissions
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
100The permissions assigned to the assignees.
Show Source
-
Array of:
string
Allowed Values:
[ "READ", "MANAGE", "ADMIN" ]
Nested Schema : targets
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
100Unique Items Required:
trueThe names/ocids of the users, groups or roles.
Show Source
-
Array of:
string
Minimum Length:
1Maximum Length:255
Nested Schema : permissions
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
100The permissions revoked from the assignees.
Show Source
-
Array of:
string
Allowed Values:
[ "READ", "MANAGE", "ADMIN" ]
Response
Supported Media Types
- application/json
200 Response
Successful operation. Registered model permissions are updated.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
403 Response
Forbidden or response too large to handle.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
405 Response
Method Not Allowed. Request is recognized but not supported.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.