"occ user:setting..." as REST API call?

Dear all,

I would like to to get the output of “sudo -u www-data php occ user:setting <UserID>” as a Rest API call? Is this possible and if yes does anybody has an example for me?

Best regards

Rainer

Check the provisioning_api apis: Instruction set for users — Nextcloud latest Administration Manual latest documentation

That should be the thing you are looking for :wink:

Hi,

thats not exactly what I need. The “occ user:setting…” gaves me informations about settings of a user e.g. settings of a plugin. The API calls gave me informations about the user but not the settings - or I cannot find it?

Do you have another idea?

Best regards

Rainer

I think you might have missed it :slightly_smiling_face:

It is in the article linked above under “Instruction set for apps”

Here: Instruction set for apps — Nextcloud latest Administration Manual latest documentation

Of course, unless I misunderstood you :pray: