Description

You have to call this method when you want to update password of a logged user in DRUID.

Please, read first https://dru-id.com/developers/apis/oauth-2/ to learn about Oauth2 protocol and the meaning of each token.

Endpoint URL:

POST https://{your-endpoint-domain.com}/activityid/v1/password/update

Request parameters

ParameterDescriptionTypeRequired
AuthorizationBearer ${access_token}

Literal text Bearer followed by access_token that is the token for current logged user obtained from login endpoint

stringyes
Content-Typeapplication/jsonstringyes
Acceptapplication/jsonstringyes
FromId of the entry pointstringyes
Accept-LanguageLanguage of this requestLocaleno

Query string parameters

ParameterDescriptionTypeRequired

Request example

ParameterDescriptionTypeRequiredValue
actor.idapp_id of the application you are using to log userstringyesapp id
actor.objectTypeType of the object which represents the actor.stringyes‘application’
verbVerb used for create userstringyes‘create’
object.objectTypeObjectType represents the userstringyes‘user’
object.passwordPassword of the user. it must be send plainstringyesuser password
object.idsUser identifiers. More info about user identifiers User Infostructyesstruct
object.datasUser datas. More info about user datas User Infostructyesstruct
object.addressesUser addresses. More info about user addresses User Infostructnostruct
object.assertionsStruct that defines legalities manage by the user. More info about user assertions User Infostructyesstruct
source.idType of device doing the activitystringyes‘unknown’ | ‘pc’ | ‘mobile’ | ‘tablet’ | ‘game_console’ | ‘itv’
source.objectTypeType of sourcestringyes‘device’

Response examples

Response: user updated successfully

Response: Errors in request

fillinblanks