Microsoft.ConfidentialLedger (preview:2024-08-22)

2024/12/04 • 6 new methods

DeleteLedgerUser (new)
Description Deletes a user with multiple roles from the Confidential Ledger.
Reference Link ¶

⚼ Request

DELETE:  /app/ledgerUsers/{userId}
{
api-version: string ,
userId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
GetLedgerUser (new)
Description Gets a user with multiple roles.
Reference Link ¶

⚼ Request

GET:  /app/ledgerUsers/{userId}
{
api-version: string ,
userId: string ,
}

⚐ Response (200)

{
assignedRoles:
[
string ,
]
,
userId: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
CreateOrUpdateLedgerUser (new)
Description A JSON merge patch is applied for existing users
Reference Link ¶

⚼ Request

PATCH:  /app/ledgerUsers/{userId}
{
api-version: string ,
userId: string ,
userMultipleRoles:
{
assignedRoles:
[
string ,
]
,
userId: string ,
}
,
}

⚐ Response (200)

{
assignedRoles:
[
string ,
]
,
userId: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
UpdateRuntimeOptions (new)
Description Updates the runtime options.
Reference Link ¶

⚼ Request

PATCH:  /app/userDefinedEndpoints/runTimeOptions
{
api-version: string ,
JSRuntimeOptions:
{
log_exception_details: boolean ,
max_cached_interpreters: integer ,
max_execution_time_ms: integer ,
max_heap_bytes: integer ,
max_stack_bytes: integer ,
return_exception_details: boolean ,
}
,
}

⚐ Response (200)

{
log_exception_details: boolean ,
max_cached_interpreters: integer ,
max_execution_time_ms: integer ,
max_heap_bytes: integer ,
max_stack_bytes: integer ,
return_exception_details: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
CreateUserDefinedRole (new)
Description User defined roles allow users to define and manage app specific AuthZ policy.
Reference Link ¶

⚼ Request

PUT:  /app/roles
{
api-version: string ,
roles:
{
roleName: string ,
roleActions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
UpdateUserDefinedRole (new)
Description User defined roles allow users to define and manage app specific AuthZ policy.
Reference Link ¶

⚼ Request

PATCH:  /app/roles
{
api-version: string ,
roles:
{
roleName: string ,
roleActions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}