All Products
Search
Document Center

Blockchain as a Service:ResetFabricOrganizationUserPassword

Last Updated:Aug 18, 2023

You can call this operation to reset the user password.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

ParameterTypeRequiredExampleDescription
ActionStringYesResetFabricOrganizationUserPassword

The operation that you want to perform. Set the value to ResetFabricOrganizationUserPassword.

OrganizationIdStringYespeers-aaaaaa2-1eqnj5o5w****

The ID of the organization.

UsernameStringYesusername

The name of the user.

LocationStringNocn-hangzhou

The location.

PasswordStringYespwd

The user password.

RegionIdStringNocn-hangzhou

The ID of the region.

Response parameters

ParameterTypeExampleDescription
ErrorCodeInteger200

The error code.

RequestIdString1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

The ID of the API request.

Result

The result list of the operation.

CreateTimeString1533025590

The time when the user was created.

ExpireTimeString1533025590

The time when the user expires.

FullnameStringusername

The full name of the user.

OrganizationIdStringpeers-aaaaaa2-1eqnj5o5w****

The ID of the organization.

PasswordStringpassword

Specifies the password that is used.

UsernameStringusername

The name of the user.

SuccessBooleantrue

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.

Examples

Sample requests


http(s)://[Endpoint]/? Action=ResetFabricOrganizationUserPassword
&OrganizationId=peers-aaaaaa2-1eqnj5o5w****
&Username=username
&<Common request parameters>

Successful response examples

XML format

<ResetFabricOrganizationUserPasswordResponse>
	  <Result>
		    <Password>v32n9rzhxqk7</Password>
		    <CreateTime>1542086619000</CreateTime>
		    <ExpireTime>1542086619000</ExpireTime>
		    <Fullname>fullname</Fullname>
		    <Username>asian01</Username>
		    <OrganizationId>peers-asianbank-1c0w455jb****</OrganizationId>
	  </Result>
	  <RequestId>2A3ABD81-95F5-4931-ACB3-31BDAE561FC7</RequestId>
	  <Success>true</Success>
	  <ErrorCode>200</ErrorCode>
</ResetFabricOrganizationUserPasswordResponse>

JSON format

{
	"Result":{
		"Fullname":"fullname",
		"ExpireTime":1542086619000,
		"Username":"asian01",
		"CreateTime":1542086619000,
		"Password":"v32n9rzhxqk7",
		"OrganizationId":"peers-asianbank-1c0w455jb****"
	},
	"RequestId":"2A3ABD81-95F5-4931-ACB3-31BDAE561FC7",
	"ErrorCode":200,
	"Success":true
}

Error codes

For more information about error codes, see Error codes.