high-optician-2097
ory patch identity --help
red-ice-83253
01/27/2023, 1:24 PMory patch identity --help
Patch resources
Usage:
ory patch [command]
Available Commands:
identity-config Patch the Ory Identities configuration of the defined Ory Network project.
oauth2-config Patch the Ory OAuth2 & OpenID Connect configuration of the specified Ory Network project.
opl Update the Ory Permission Language file in Ory Network
permission-config Patch the Ory Permissions configuration of the specified Ory Network project.
project Patch the Ory Network project configuration.
Flags:
-c, --config string Path to the Ory Network configuration file.
-h, --help help for patch
Use "ory patch [command] --help" for more information about a command.
red-ice-83253
01/27/2023, 1:25 PMory version
Version: v0.2.2
Git Hash: 3ef9cd5f54d31fdc8da9ea3d9bfa1cfefb6f098d
Build Time: 2023-01-26T09:52:48Z
red-ice-83253
01/27/2023, 1:26 PMred-ice-83253
01/27/2023, 4:27 PMhigh-optician-2097
red-ice-83253
01/27/2023, 4:49 PMpatch identity
either in the cli, in the docs or in the code (https://github.com/ory/cli/tree/d8e6a199dcda6c88efaae86ba20dfcb34984fdfc/cmd/cloudx/identity & https://github.com/ory/cli/blob/d8e6a199dcda6c88efaae86ba20dfcb34984fdfc/cmd/cloudx/patch.go). I can just find the patch identity-config
which I understand is to patch the identity schema but not an specific identityred-ice-83253
01/27/2023, 4:58 PMhigh-optician-2097
red-ice-83253
01/27/2023, 6:15 PMhigh-optician-2097
high-optician-2097
red-ice-83253
01/27/2023, 7:27 PMred-ice-83253
01/27/2023, 11:09 PM/kratos patch identity 6b2c0e20-c367-457d-8002-a11c279e4051 --op replace --value '{"group": {"type": "string", "title": "admin"}}' --path /metadata_public
2023/01/28 00:06:35 [DEBUG] PATCH <http://localhost:4434/admin/identities/6b2c0e20-c367-457d-8002-a11c279e4051>
ID 6b2c0e20-c367-457d-8002-a11c279e4051
red-ice-83253
01/28/2023, 9:16 AMred-ice-83253
02/01/2023, 9:18 AMpatch identity-config
command only allowing to perform add, remove and replace
operations? According to the API docs move, copy and test
are also supported operations