Update current anonymous account on Avaya Spaces. Returns a unique JSON of updated anonymous user.

Body Parameters

NameDescriptionJSON typeRequiredDefault Value
displaynameThe user's full nameStringNo

Authorization

None required.

Example Request

URL

For Production: POST https://spacesapis.avayacloud.com/api/anonymous/me
For Staging: POST https://loganstagingapis.esna.com/api/anonymous/me

Headers

Authorization: 'jwt eyJhbGciOiJSUzI1NiIsIdfgdfgnR5cCI6IkpXVCJ9.eyJ1c2VyX2lkX3NpZyI6ImxPWHpxNzVzR3J3X0xwWEMyRGRMakhyYXJlWVhyTzFMdEZHZkhkOWNkTXciLCJwcm9kdWN0X3R5cGUiOiJhY2NvdW50cyIsImxhc3R1cGRhdGV0aW1lIjoiMjAxNy0wMS0zMFQxMzo1ODo0Ny4yMDYiLCJpc3MiOiJ6YW5nLmlvIiwicHVibGlja2V5aWQiOiJhZ3h6Zm05dVpYTnVZVEl3TVRSeUdnc1NEVWRLZDNSUWRXSnNhV05MWlhrdfgdWdJQ2dsUEtFakFvTSIsImV4cCI6MTQ5NTM5MTIwMywidXNlcl9pZCI6ImFneHpmbTl1WlhOdVlUSXdNVFJ5RVFzU0JGVnpaWElZZ0lEQXMtX25fUW9NIiwidmVyIjoiMi4wIn0.SqZpw1uPIebqW3qlDsm0-DWYFKEH0SgPwtD-tSESWOF-5hLkZMqJH28ooWux2S7s9riIew7pTVPnZpTgJa5zHcEAG0gXSEJVOqmpGp_4ufM8YtZoZMpBFjyAkwyAt-ILkGUYIo0GU5WyzMPLV8YLXfgdfgOgkE2MGGOajBkjPmC2Db3pA0D0M9k-21EL1gwWBC5YIq0PDAkgulegwl6khRmB8irJQ-dfg-d-KV9eYfFpsCdJKRGzSfqg'

Body

{
        "displayname": "anonymous ab",
}

Example Response

{
  "aType": "anonymous",
  "_id": "5f1ea956a4cc6808b4981b63",
  "displayname": "anonymous ab",
  "username": "anonymous ab",
  "created": "2020-07-27T10:15:50.873Z",
  "picture_url": "https://accounts.zang.io/norevimages/noimage.jpg",
  "profile": {
      "displayname": "anonymous ab",
      "username": "anonymous ab",
      "picture_url": "https://accounts.zang.io/norevimages/noimage.jpg"
  }
}