PATCH/spaces/api/v1/me.json

Update the current users preferences

Body Params

    • Name
      me
      Type
      object
      Description
      MeUpdate is used to update a user preferences

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
    • Code
      500
      Type
      object
      Schema
      Description
      500 Internal Server Error

    Examples

    200 OK

    Me
    {
      "me": {
        "LinkedCompany": {
          "company": {
            "id": 0,
            "meta": {},
            "type": "string"
          }
        },
        "LinkedInstallation": {
          "installation": {
            "id": 0,
            "meta": {},
            "type": "string"
          }
        },
        "authToken": {
          "installationId": 0,
          "key": "string",
          "timestamp": "string",
          "userId": 0
        },
        "avatar": "string",
        "email": "string",
        "firstname": "string",
        "id": 0,
        "isAdmin": true,
        "isExternal": true,
        "isOnboarded": true,
        "lastname": "string",
        "preferences": {
          "emailEnabled": true,
          "showOnboardingHelp": true,
          "welcomeTextEnabled": true
        },
        "projectsRoles": {
          "isAdmin": true
        },
        "state": "string"
      }
    }