Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

workflow: Edit User Config Flow

Input

...


 NameSourceMandatoryTypeSpecial FormatDescription
uIdQueryYESStringN/Athe user id
configBodyYESObjectN/A 



 
Typeaccess
 NameSourceMandatoryTypeSpecial FormatDescription
keysBodyYESNOObjectN/A 
packagesBodyNOObjectN/A  
 NameSourceMandatoryTypeSpecial FormatDescription
%packageName%BodyNOObject

N/A

 
  NameSourceMandatorySpecial FormatDescriptionaclBodyNOObjectN/A  
 NameSourceMandatoryTypeSpecial FormatDescription
BodyNOBoolean or ArrayN/A 
apisPermissionBodyNOStringN/A 
apisBodyNOObjectN/A 
 
 NameSourceMandatoryTypeSpecial FormatDescription
%apiRoute%BodyYESObjectN/A 
 
 NameSourceMandatoryTypeSpecial FormatDescription
accessBodyNOBoolean or ArrayN/A 

 




Output

...

Valid Response

Code Block
languagejs
titleValid Response Sample
{
	"result": true,
	"data": true
}

...


Invalid Response

Code Block
languagejs
titleError Response Sample
{
    "result":false,
    "errors":{
        "codes":[405],
        "details":[
            {
                "code":405,
                "message":"Unable to find User. Please try again."
            }
        ]
    }
}



Error Codes

 



Code
Description
405Unable to find User. Please try again.
407Problem validating Request. Please try again.
411invalid user id provided
500This record in locked. You cannot modify or delete it


Example (CURL)

...